projects
/
apple
/
xnu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git]
/
osfmk
/
kern
/
mpsc_queue.h
diff --git
a/osfmk/kern/mpsc_queue.h
b/osfmk/kern/mpsc_queue.h
index a2a6218ec27688b02a470603834581f057c630a7..4f186ee265e9f38ae99fa92f1c5821d485bc6d80 100644
(file)
--- a/
osfmk/kern/mpsc_queue.h
+++ b/
osfmk/kern/mpsc_queue.h
@@
-464,11
+464,11
@@
typedef enum mpsc_daemon_queue_kind {
* @brief
* Internal type, not to be used by clients.
*/
* @brief
* Internal type, not to be used by clients.
*/
-
typedef enum mpsc_daemon_queue_state
{
+
__options_decl(mpsc_daemon_queue_state_t, uint32_t,
{
MPSC_QUEUE_STATE_DRAINING = 0x0001,
MPSC_QUEUE_STATE_WAKEUP = 0x0002,
MPSC_QUEUE_STATE_CANCELED = 0x0004,
MPSC_QUEUE_STATE_DRAINING = 0x0001,
MPSC_QUEUE_STATE_WAKEUP = 0x0002,
MPSC_QUEUE_STATE_CANCELED = 0x0004,
-}
mpsc_daemon_queue_state_t
;
+}
)
;
struct mpsc_daemon_queue {
mpsc_daemon_queue_kind_t mpd_kind;
struct mpsc_daemon_queue {
mpsc_daemon_queue_kind_t mpd_kind;