mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
sched/mqueue: configurable mqueue notification
Add a configuration to disable the mqueue notification mechanism Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
@@ -97,9 +97,11 @@ struct mqueue_inode_s
|
||||
#else
|
||||
uint16_t maxmsgsize; /* Max size of message in message queue */
|
||||
#endif
|
||||
#ifndef CONFIG_DISABLE_MQUEUE_NOTIFICATION
|
||||
pid_t ntpid; /* Notification: Receiving Task's PID */
|
||||
struct sigevent ntevent; /* Notification description */
|
||||
struct sigwork_s ntwork; /* Notification work */
|
||||
#endif
|
||||
FAR struct pollfd *fds[CONFIG_FS_MQUEUE_NPOLLWAITERS];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user