nuttx/sched
Gregory Nutt a48c784cc4 sched/pthread_cond[timed]wait.c: return special mutex state.
A mutex may be configured with rather exotic options such as recursive, unsafe, etc.  The availability of these mutex options is controlled by configuation settings.  When each option is enabled, additional fields are managed inside of the mutex structure.

pthread_cond_wait() and pthread_timed_wait() do the following atomically:  (1) unlock the mutex, (2) wait for the condition, and (3) restore the mutex lock.  When that lock is restored, pthread_cond_[timed]wait() must also restore the exact configuration of the mutex data structure if these "exotic" features are enabled.
2020-04-06 00:13:05 +01:00
..
clock Make compare_timespec public so timer driver could reuse it 2020-02-15 07:17:07 -06:00
environ Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
errno Standardization of some function headers. 2018-03-13 09:52:27 -06:00
group sched/group/group_setuptaskfiles.c: Fix bad file inclusion. 2020-03-05 00:49:12 +01:00
init Adapt dlfcn/modlib to use the instruction memory allocator 2020-03-16 07:54:49 -06:00
irq sched/: Fix some new coding standard issues. 2020-03-09 17:31:49 +01:00
module Adapt dlfcn/modlib to use the instruction memory allocator 2020-03-16 07:54:49 -06:00
mqueue Fixed formatting error I introduced 2020-03-10 14:00:16 -05:00
paging Run codespell -w with the latest dictonary again 2020-02-23 22:27:46 +01:00
pthread sched/pthread_cond[timed]wait.c: return special mutex state. 2020-04-06 00:13:05 +01:00
sched include/nuttx/sched.h: Move prototype for sched_releasetcb() 2020-03-26 14:12:34 -03:00
semaphore nxsem_wait_uninterruptble: Now returns if the task is canceled. 2020-04-05 18:10:32 +01:00
signal Fix typos in comments and documentation. 2020-03-16 20:01:11 -06:00
task Check return from nxsem_wait_initialize() 2020-03-29 20:11:10 +01:00
timer sched/timer: Update most files to Apache 2.0 2020-03-11 18:39:28 -03:00
wdog sched/wdog: Update to Apache 2.0 Headers 2020-03-11 18:35:18 -03:00
wqueue Check return from nxsem_wait_initialize() 2020-03-29 20:11:10 +01:00
.gitignore Revert "Don't generate .depend anymore" 2020-03-22 23:07:29 -05:00
Kconfig Introduce CONFIG_DEFAULT_TASK_STACKSIZE 2020-03-26 22:30:13 -05:00
Makefile Revert "Don't generate .depend anymore" 2020-03-22 23:07:29 -05:00