enum UMTX_OP [src]
Alias for std.c.freebsd.UMTX_OP
Fields
LOCK = 0
UNLOCK = 1
WAIT = 2
WAKE = 3
MUTEX_TRYLOCK = 4
MUTEX_LOCK = 5
MUTEX_UNLOCK = 6
SET_CEILING = 7
CV_WAIT = 8
CV_SIGNAL = 9
CV_BROADCAST = 10
WAIT_UINT = 11
RW_RDLOCK = 12
RW_WRLOCK = 13
RW_UNLOCK = 14
WAIT_UINT_PRIVATE = 15
WAKE_PRIVATE = 16
MUTEX_WAIT = 17
MUTEX_WAKE = 18
SEM_WAIT = 19
SEM_WAKE = 20
NWAKE_PRIVATE = 31
MUTEX_WAKE2 = 22
SEM2_WAIT = 23
SEM2_WAKE = 24
SHM = 25
ROBUST_LISTS = 26
Source
pub const UMTX_OP = enum(c_int) {
LOCK = 0,
UNLOCK = 1,
WAIT = 2,
WAKE = 3,
MUTEX_TRYLOCK = 4,
MUTEX_LOCK = 5,
MUTEX_UNLOCK = 6,
SET_CEILING = 7,
CV_WAIT = 8,
CV_SIGNAL = 9,
CV_BROADCAST = 10,
WAIT_UINT = 11,
RW_RDLOCK = 12,
RW_WRLOCK = 13,
RW_UNLOCK = 14,
WAIT_UINT_PRIVATE = 15,
WAKE_PRIVATE = 16,
MUTEX_WAIT = 17,
MUTEX_WAKE = 18, // deprecated
SEM_WAIT = 19, // deprecated
SEM_WAKE = 20, // deprecated
NWAKE_PRIVATE = 31,
MUTEX_WAKE2 = 22,
SEM2_WAIT = 23,
SEM2_WAKE = 24,
SHM = 25,
ROBUST_LISTS = 26,
}