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:
hujun5
2023-04-23 14:45:14 +08:00
committed by Xiang Xiao
parent 5a2bc1c015
commit d189a86a35
5 changed files with 5 additions and 2 deletions
+1
View File
@@ -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)