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

This, and other documents, can be downloaded from http://ftp.FreeBSD.org/pub/FreeBSD/doc/

For questions about FreeBSD, read the documentation before contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.