Revert "system: pthread_barrierwait should be moved to kernel space"

reason:
new implementation does not requires the use of enter_critical_section,
so the source code needs to be moved to user space

This reverts commit d189a86a35.
This commit is contained in:
hujun5 2024-11-15 14:58:41 +08:00 committed by Xiang Xiao
parent 238cddde3a
commit dcc75048be
7 changed files with 16 additions and 8 deletions

View file

@ -310,7 +310,6 @@ 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)