nuttx/sched/pthread
hujun5 a9d9dd2120 arch: enable ARCH_KERNEL_STACK support in protected builds
Expand ARCH_KERNEL_STACK configuration to support both BUILD_KERNEL and
BUILD_PROTECTED modes. Change Kconfig dependency from "depends on BUILD_KERNEL"
to "depends on BUILD_KERNEL || BUILD_PROTECTED". Update pthread_create.c to
remove redundant BUILD_KERNEL check when allocating kernel stacks with
CONFIG_ARCH_KERNEL_STACK enabled. Enables protected builds to use separate
kernel and user stacks for processes.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-01-18 23:05:11 +08:00
..
CMakeLists.txt pthread: remove enter_critical_section in pthread_mutex 2025-01-12 22:30:35 +08:00
Make.defs pthread: remove enter_critical_section in pthread_mutex 2025-01-12 22:30:35 +08:00
pthread.h sched:use tcb inside of pthread_tcb_s, remove all cast 2025-12-22 17:55:45 +08:00
pthread_cancel.c pthread_cleanup: move clenup down to tls 2024-09-14 20:15:12 +08:00
pthread_completejoin.c group: use tg_mutex to replace tg_joinlock 2025-01-19 17:08:32 +08:00
pthread_condbroadcast.c pthread_cond_wait: Use atomic_t to protect the waiter count 2025-01-20 23:55:26 +08:00
pthread_condclockwait.c pthread_cond_wait: Use atomic_t to protect the waiter count 2025-01-20 23:55:26 +08:00
pthread_condsignal.c pthread_cond_wait: Use atomic_t to protect the waiter count 2025-01-20 23:55:26 +08:00
pthread_condwait.c pthread_cond_wait: Use atomic_t to protect the waiter count 2025-01-20 23:55:26 +08:00
pthread_create.c arch: enable ARCH_KERNEL_STACK support in protected builds 2026-01-18 23:05:11 +08:00
pthread_detach.c group: use tg_mutex to replace tg_joinlock 2025-01-19 17:08:32 +08:00
pthread_exit.c sched/signal: Add support for disabling all signal functions 2026-01-18 08:24:13 -03:00
pthread_findjoininfo.c group: use tg_mutex to replace tg_joinlock 2025-01-19 17:08:32 +08:00
pthread_getaffinity.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
pthread_getschedparam.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
pthread_join.c group: use tg_mutex to replace tg_joinlock 2025-01-19 17:08:32 +08:00
pthread_mutex.c sched/task: move lock to mhead scope 2025-11-01 22:52:07 +08:00
pthread_mutexconsistent.c sched/pthread: There is no need to use sched_[un]lock 2024-10-12 13:28:23 +08:00
pthread_mutexdestroy.c sched/pthread: There is no need to use sched_[un]lock 2024-10-12 13:28:23 +08:00
pthread_mutexinit.c Integrate nxmutex support fully into nxsem 2025-05-08 16:00:05 +08:00
pthread_mutextimedlock.c pthread_mutx: remove unused critical_secton lock 2024-09-15 17:32:33 +08:00
pthread_mutextrylock.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
pthread_mutexunlock.c pthread_mutx: remove unused critical_secton lock 2024-09-15 17:32:33 +08:00
pthread_release.c group: use tg_mutex to replace tg_joinlock 2025-01-19 17:08:32 +08:00
pthread_setaffinity.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
pthread_setschedparam.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
pthread_setschedprio.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
pthread_sigmask.c sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00