mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
sched/pthread: move pthread mutex from syscall to user-space
Move pthread mutex operations from kernel-space syscall interface to user-space implementations to reduce syscall overhead. Relocate mutex holder list tracking from task control block (tcb) to thread local storage (tls) to improve memory layout and cache efficiency. Add helper macros for conditional mutex implementations and update syscall interface accordingly. Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
@@ -97,7 +97,6 @@ class Tcb(Value):
|
||||
sigpendactionq: Value
|
||||
sigpostedq: Value
|
||||
sigunbinfo: Value
|
||||
mhead: Value
|
||||
ticks: Value
|
||||
run_start: Value
|
||||
run_max: Value
|
||||
|
||||
Reference in New Issue
Block a user