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
@@ -92,6 +92,7 @@
"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 *
92 prctl sys/prctl.h int int ... uintptr_t
93 pread unistd.h ssize_t int FAR void * size_t
94 pselect sys/select.h int int FAR fd_set * FAR fd_set *
95 pthread_barrier_wait pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_barrier_t *
96 pthread_cancel pthread.h !defined(CONFIG_DISABLE_PTHREAD) int pthread_t
97 pthread_cond_broadcast pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_cond_t *
98 pthread_cond_clockwait pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_cond_t * FAR pthread_mutex_t * clockid_t