mirror of
https://github.com/apache/nuttx.git
synced 2026-10-07 14:25:25 +00:00
eventfd: Change mode_semaphore from uint8_t to bool
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
54e1c27e43
commit
0896d0680b
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ struct eventfd_priv_s
|
|||
eventfd_t counter; /* eventfd counter */
|
||||
unsigned int minor; /* eventfd minor number */
|
||||
uint8_t crefs; /* References counts on eventfd (max: 255) */
|
||||
uint8_t mode_semaphore; /* eventfd mode (semaphore or counter) */
|
||||
bool mode_semaphore; /* eventfd mode (semaphore or counter) */
|
||||
|
||||
/* The following is a list if poll structures of threads waiting for
|
||||
* driver events.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue