walnux/sched/semaphore
Jukka Laitinen 73ee052b3f sched/semaphore: Optimize fast mutex acquire with CONFIG_PRIORITY_PROTECT or CONFIG_PRIORITY_INHERITANCE
When the semaphore priority flags is set to NONE, and the semaphore
is a mutex, the fast locking path can be used, even when
priority inheritance or priority protect are enabled globally.

Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>
2025-04-01 20:37:23 +08:00
..
CMakeLists.txt cmake:refine nuttx cmake build system fix CMake build missing part 2024-10-13 02:25:06 +08:00
Make.defs sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sem_clockwait.c sem: use wd_start_realtime/abstime to replace wd_start 2024-10-09 13:54:29 +08:00
sem_destroy.c sem: change sem wait to atomic operation 2024-12-10 22:00:42 +08:00
sem_holder.c nxsem_destroyholder: Use critical section when destroying holder(s) 2024-12-27 00:28:34 +08:00
sem_initialize.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sem_post.c sched/semaphore: Optimize fast mutex acquire with CONFIG_PRIORITY_PROTECT or CONFIG_PRIORITY_INHERITANCE 2025-04-01 20:37:23 +08:00
sem_protect.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sem_recover.c sched/sem_waitirq: Move kmm_map() call to sem_wait() 2025-03-13 12:28:22 +08:00
sem_reset.c sem: change sem wait to atomic operation 2024-12-10 22:00:42 +08:00
sem_rw.c Revert "shced:sem: replace mutex with spinlock" 2024-10-29 23:01:39 +08:00
sem_setprotocol.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sem_tickwait.c sched/semaphore: tick wait 0 timeout should be safe in interrupt context 2024-12-30 12:02:34 +08:00
sem_timedwait.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
sem_timeout.c sched: change xx_timeout param from pid to tcb 2024-09-29 18:18:01 +08:00
sem_trywait.c sched/semaphore: Optimize fast mutex acquire with CONFIG_PRIORITY_PROTECT or CONFIG_PRIORITY_INHERITANCE 2025-04-01 20:37:23 +08:00
sem_wait.c sched/semaphore: Optimize fast mutex acquire with CONFIG_PRIORITY_PROTECT or CONFIG_PRIORITY_INHERITANCE 2025-04-01 20:37:23 +08:00
sem_waitirq.c sched/sem_waitirq: Move kmm_map() call to sem_wait() 2025-03-13 12:28:22 +08:00
semaphore.h sem: change sem wait to atomic operation 2024-12-10 22:00:42 +08:00