nuttx/sched/semaphore
Gregory Nutt 0558aa0a78 "Uninterruptible" semaphore waits must return when canceled.
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.
2020-03-29 11:58:28 -03:00
..
Make.defs sem_setprotocol: Handle a case of missing proxy for sem_setprotocol. Reorder so that (1) this error is avoided, and (2) >No proxy is needed if priority inheritance is not enabled. 2016-11-03 18:51:38 -06:00
sem_destroy.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
sem_holder.c Fix typos in comments and documentation. 2020-03-16 20:01:11 -06:00
sem_initialize.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sem_post.c Fix typos in comments and documentation. 2020-03-16 20:01:11 -06:00
sem_recover.c Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
sem_reset.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
sem_setprotocol.c Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
sem_tickwait.c "Uninterruptible" semaphore waits must return when canceled. 2020-03-29 11:58:28 -03:00
sem_timedwait.c "Uninterruptible" semaphore waits must return when canceled. 2020-03-29 11:58:28 -03:00
sem_timeout.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sem_trywait.c Fix typos in comments and documentation. 2020-03-16 20:01:11 -06:00
sem_wait.c include/nuttx: Fix improper use of inline 2020-03-02 22:06:04 +01:00
sem_waitirq.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
semaphore.h Replace #include <semaphore.h> to #include <nuttx/semaphore.h> 2020-02-01 08:27:30 -06:00
spinlock.c sched/semaphore/spinlock.c: spin_trylock handle memory barrier and instrumentation correctly. 2019-11-03 19:40:58 -06:00