nuttx/sched/semaphore
Xiang Xiao 6a3c2aded6 Fix wait loop and void cast (#24)
* Simplify EINTR/ECANCEL error handling

1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx

* Unify the void cast usage

1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06: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 Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sem_holder.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sem_initialize.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sem_post.c Fix typos, 1 in a #define, others in comments. This changes one definition: _MQ_TIMEDRECIEVE is changed to _MQ_TIMEDRECEIVE. It appears this symbol is not used anywhere. 2019-09-11 08:56:56 -06:00
sem_recover.c This commit renames all internal OS functions defined under sched/task so that they begin with the prefix. For example, nxtask_exit() vs. task_exit(). 2019-02-04 13:42:51 -06:00
sem_reset.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sem_setprotocol.c tools/nxstyle.c: Add logic to detect if there is a blank line following the final right brace. sched/: Applied the modified nxstyle to all C file as a test. 2019-10-24 11:02:42 -06:00
sem_tickwait.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sem_timedwait.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sem_timeout.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sem_trywait.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sem_wait.c Fix minor typo / copy-paste. 'cancellaction point'->'cancellation point' 2019-08-23 11:57:35 -06:00
sem_waitirq.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
semaphore.h Squashed commit of the following: 2019-04-29 14:52:05 -06:00
spinlock.c sched/semaphore/spinlock.c: spin_trylock handle memory barrier and instrumentation correctly. 2019-11-03 19:40:58 -06:00