FreeBSD Architecture Handbook
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 | Home | Next
Locking Notes | Up | Atomically Protected Variables