2.2. Shared Exclusive Locks
Prev | Chapter 2. Locking Notes | Next

## 2.2. Shared Exclusive Locks

These locks provide basic reader-writer type functionality and may be held by a sleeping process. Currently they are backed by lockmgr(9).

Table 2.2. Shared Exclusive Lock List

Variable Name | Protectees
--- | ---
`allproc_lock` | `allproc` `zombproc` `pidhashtbl` proc.`p_list` proc.`p_hash` `nextpid`
`proctree_lock` | proc.`p_children` proc.`p_sibling`

Prev | Up | Next
Chapter 2. Locking Notes | Home | 2.3. Atomically Protected Variables

All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/

Questions that are not answered by the documentation may be sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.