1 /* 2 * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _SYSTEM_USER_MUTEX_DEFS_H 6 #define _SYSTEM_USER_MUTEX_DEFS_H 7 8 9 // user mutex specific flags passed to _kern_user_mutex_unlock() 10 #define B_USER_MUTEX_UNBLOCK_ALL 0x80000000 11 // All threads currently waiting on the mutex will be unblocked. The mutex 12 // state will be locked. 13 14 15 // mutex value flags 16 #define B_USER_MUTEX_LOCKED 0x01 17 #define B_USER_MUTEX_WAITING 0x02 18 #define B_USER_MUTEX_DISABLED 0x04 19 20 21 #endif /* _SYSTEM_USER_MUTEX_DEFS_H */ 22