libc: Move pthread_cleanup to user space

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi
2021-04-30 18:12:09 +08:00
committed by patacongo
parent 103925b2b7
commit f1a92e9cbb
12 changed files with 55 additions and 162 deletions
-3
View File
@@ -83,9 +83,6 @@
"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_cancel","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t"
"pthread_cleanup_pop","pthread.h","defined(CONFIG_PTHREAD_CLEANUP)","void","int"
"pthread_cleanup_poplist","nuttx/pthread.h","defined(CONFIG_PTHREAD_CLEANUP)","int","struct pthread_cleanup_s *"
"pthread_cleanup_push","pthread.h","defined(CONFIG_PTHREAD_CLEANUP)","void","pthread_cleanup_t","FAR void *"
"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 *"
"pthread_cond_signal","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t *"
1 _exit unistd.h noreturn int
83 pread unistd.h ssize_t int
84 pselect sys/select.h int int
85 pthread_cancel pthread.h !defined(CONFIG_DISABLE_PTHREAD) int pthread_t
pthread_cleanup_pop pthread.h defined(CONFIG_PTHREAD_CLEANUP) void int
pthread_cleanup_poplist nuttx/pthread.h defined(CONFIG_PTHREAD_CLEANUP) int struct pthread_cleanup_s *
pthread_cleanup_push pthread.h defined(CONFIG_PTHREAD_CLEANUP) void pthread_cleanup_t
86 pthread_cond_broadcast pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_cond_t *
87 pthread_cond_clockwait pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_cond_t *
88 pthread_cond_signal pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_cond_t *