Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/_lockmgr.h
Show All 34 Lines | |||||
#ifdef DEBUG_LOCKS | #ifdef DEBUG_LOCKS | ||||
#include <sys/_stack.h> | #include <sys/_stack.h> | ||||
#endif | #endif | ||||
struct lock { | struct lock { | ||||
struct lock_object lock_object; | struct lock_object lock_object; | ||||
volatile uintptr_t lk_lock; | volatile uintptr_t lk_lock; | ||||
u_int lk_exslpfail; | u_short lk_exslpfail; | ||||
u_short lk_pri; | |||||
int lk_timo; | int lk_timo; | ||||
int lk_pri; | |||||
#ifdef DEBUG_LOCKS | #ifdef DEBUG_LOCKS | ||||
struct stack lk_stack; | struct stack lk_stack; | ||||
#endif | #endif | ||||
}; | }; | ||||
#endif | #endif |