btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / system / user_mutex_defs.h
blobef000c84534ad076cd7424c3c837b8692d243210
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
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.
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
21 #endif /* _SYSTEM_USER_MUTEX_DEFS_H */