nuttx/sched
Zeng Zhaoxiu fc4ab4fd94 semaphore: Improve the nxsem_release_holder function.
1. The task which called nxsem_release_holder may not be a holder of the semaphore,
   counts of the holder would not be decreamented.
   This commit try to resolve the problem if there is only one holder.
2. Avoid counts overflow.

Signed-off-by: Zeng Zhaoxiu <walker.zeng@transtekcorp.com>
2022-02-13 03:20:51 +08:00
..
clock clock: update clock_synchronize() to support with time 2022-01-18 22:48:15 +08:00
environ Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group sched: Don't duplicate caller file handler when creating kernel thread 2022-02-01 08:22:45 +09:00
init idle: remove heap & stack check in idle thread 2022-01-29 00:53:47 +08:00
irq arch: Decouple up_critmon_[gettime|convert] from critmon 2022-01-25 14:43:34 +08:00
module sched/module: remove redundant unlock 2022-02-10 22:31:51 +08:00
mqueue sched/mqueue: remove unused leave_cancellation_point 2022-02-10 22:33:21 +08:00
paging Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
pthread pthread: Call cleanup callback while asyncrhonous cancel 2022-02-09 21:21:43 +08:00
sched sched: Implement sysinfo function 2022-02-08 10:27:38 +08:00
semaphore semaphore: Improve the nxsem_release_holder function. 2022-02-13 03:20:51 +08:00
signal Revert "libc: Call pthread_exit in user-space by up_pthread_exit" 2022-02-09 21:21:43 +08:00
task Revert "libc: Call pthread_exit in user-space by up_pthread_exit" 2022-02-09 21:21:43 +08:00
timer Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
wdog Update sched/wdog/wd_start.c 2022-02-10 22:33:47 +08:00
wqueue arch: Decouple up_critmon_[gettime|convert] from critmon 2022-01-25 14:43:34 +08:00
Kconfig sched: Disable pthread by default when DEFAULT_SMALL is enabled 2022-02-07 12:04:03 +08:00
Makefile style/Makefile: remove unnecessary trailing whitespace 2020-11-28 12:20:30 +01:00