Constant cloudabi::LOCK_WRLOCKED [] [src]

pub const LOCK_WRLOCKED: lock = lock(1073741824)

Bitmask indicating that the lock is write-locked. If set, the lower 30 bits of the lock contain the identifier of the thread that owns the write lock. Otherwise, the lower 30 bits of the lock contain the number of acquired read locks.