FreeBSD Architecture Handbook
Prev | Chapter 2 Locking Notes | Next

# 2.3 Atomically Protected Variables

An atomically protected variable is a special variable that is not protected by an explicit lock. Instead, all data accesses to the variables use special atomic operations as described in atomic(9). Very few variables are treated this way, although other synchronization primitives such as mutexes are implemented with atomically protected variables.

- `mtx`.`mtx_lock`

Prev | Home | Next
Shared Exclusive Locks | Up | Kernel Objects