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
-1
View File
@@ -105,7 +105,6 @@
"prctl","sys/prctl.h","","int","int","...","uintptr_t","uintptr_t"
"pread","unistd.h","","ssize_t","int","FAR void *","size_t","off_t"
"pselect","sys/select.h","","int","int","FAR fd_set *","FAR fd_set *","FAR fd_set *","FAR const struct timespec *","FAR const sigset_t *"
"pthread_barrier_wait","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_barrier_t *"
"pthread_cancel","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t"
"pthread_cond_broadcast","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t *"
"pthread_cond_clockwait","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t *","FAR pthread_mutex_t *","clockid_t","FAR const struct timespec *"
1 _assert assert.h void FAR const char * int FAR const char * FAR void *
105 prctl sys/prctl.h int int ... uintptr_t uintptr_t
106 pread unistd.h ssize_t int FAR void * size_t off_t
107 pselect sys/select.h int int FAR fd_set * FAR fd_set * FAR fd_set *
pthread_barrier_wait pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_barrier_t *
108 pthread_cancel pthread.h !defined(CONFIG_DISABLE_PTHREAD) int pthread_t
109 pthread_cond_broadcast pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_cond_t *
110 pthread_cond_clockwait pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_cond_t * FAR pthread_mutex_t * clockid_t FAR const struct timespec *