mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 18:37:46 +08:00
sched/mqueue: make mqueue and mqueue sysv can disable separately
This commit is contained in:
@@ -206,7 +206,7 @@ enum tstate_e
|
||||
TSTATE_TASK_INACTIVE, /* BLOCKED - Initialized but not yet activated */
|
||||
TSTATE_WAIT_SEM, /* BLOCKED - Waiting for a semaphore */
|
||||
TSTATE_WAIT_SIG, /* BLOCKED - Waiting for a signal */
|
||||
#if !defined(CONFIG_DISABLE_MQUEUE) && !defined(CONFIG_DISABLE_MQUEUE_SYSV)
|
||||
#if !defined(CONFIG_DISABLE_MQUEUE) || !defined(CONFIG_DISABLE_MQUEUE_SYSV)
|
||||
TSTATE_WAIT_MQNOTEMPTY, /* BLOCKED - Waiting for a MQ to become not empty. */
|
||||
TSTATE_WAIT_MQNOTFULL, /* BLOCKED - Waiting for a MQ to become not full. */
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user