mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
system: pthread_barrierwait should be moved to kernel space
The current implementation requires the use of enter_critical_section, so the source code needs to be moved to kernel space Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
@@ -301,6 +301,7 @@ SYSCALL_LOOKUP(munmap, 2)
|
||||
/* The following are defined if pthreads are enabled */
|
||||
|
||||
#ifndef CONFIG_DISABLE_PTHREAD
|
||||
SYSCALL_LOOKUP(pthread_barrier_wait, 1)
|
||||
SYSCALL_LOOKUP(pthread_cancel, 1)
|
||||
SYSCALL_LOOKUP(pthread_cond_broadcast, 1)
|
||||
SYSCALL_LOOKUP(pthread_cond_signal, 1)
|
||||
|
||||
Reference in New Issue
Block a user