sched/semaphore: sem_trywait() modifies the errno value and, hence, should...
sched/semaphore: sem_trywait() modifies the errno value and, hence, should not be used within the OS. Use nxsem_trywait() instead.
Showing
- drivers/wireless/ieee802154/xbee/xbee_dataind.c 2 additions, 1 deletiondrivers/wireless/ieee802154/xbee/xbee_dataind.c
- drivers/wireless/ieee802154/xbee/xbee_notif.c 2 additions, 1 deletiondrivers/wireless/ieee802154/xbee/xbee_notif.c
- fs/semaphore/sem_open.c 1 addition, 1 deletionfs/semaphore/sem_open.c
- include/nuttx/semaphore.h 28 additions, 2 deletionsinclude/nuttx/semaphore.h
- libc/semaphore/sem_init.c 2 additions, 2 deletionslibc/semaphore/sem_init.c
- mm/iob/iob_alloc.c 1 addition, 1 deletionmm/iob/iob_alloc.c
- mm/iob/iob_alloc_qentry.c 1 addition, 1 deletionmm/iob/iob_alloc_qentry.c
- mm/mm_heap/mm_sem.c 4 additions, 2 deletionsmm/mm_heap/mm_sem.c
- sched/pthread/pthread_initialize.c 4 additions, 2 deletionssched/pthread/pthread_initialize.c
- sched/pthread/pthread_mutex.c 4 additions, 3 deletionssched/pthread/pthread_mutex.c
- sched/sched/sched_waitpid.c 2 additions, 1 deletionsched/sched/sched_waitpid.c
- sched/semaphore/sem_tickwait.c 4 additions, 4 deletionssched/semaphore/sem_tickwait.c
- sched/semaphore/sem_timedwait.c 2 additions, 1 deletionsched/semaphore/sem_timedwait.c
- sched/semaphore/sem_trywait.c 49 additions, 10 deletionssched/semaphore/sem_trywait.c
- wireless/ieee802154/mac802154.c 2 additions, 1 deletionwireless/ieee802154/mac802154.c
- wireless/ieee802154/mac802154_notif.c 3 additions, 1 deletionwireless/ieee802154/mac802154_notif.c
Loading
Please register or sign in to comment