mirror of
https://github.com/apache/nuttx.git
synced 2026-08-09 06:25:09 +00:00
nxsem_timedwait_uninterruptible() must return -ECANCELED if the thread is canceled:
include/nuttx/semaphore.h: Return if nxsem_wait() returns ECANCELED meaning that the thread waiting for the semaphore has been canceled.
sched/semaphore/sem_timedwait.c: Same change (the inline version is in semaphore.h, the non-inlined version is in sem_tickwait.c).
drivers/sensors/lps25h.c and drivers/wireless/bluetooth/bt_uart_bcm4343x.c: Make sure that the caller deals correctly with the -ECANCELED return value.
Refer to issue 619.
|
||
|---|---|---|
| .. | ||
| Make.defs | ||
| sem_destroy.c | ||
| sem_holder.c | ||
| sem_initialize.c | ||
| sem_post.c | ||
| sem_recover.c | ||
| sem_reset.c | ||
| sem_setprotocol.c | ||
| sem_tickwait.c | ||
| sem_timedwait.c | ||
| sem_timeout.c | ||
| sem_trywait.c | ||
| sem_wait.c | ||
| sem_waitirq.c | ||
| semaphore.h | ||
| spinlock.c | ||