libc: Move pthread_exit to userspace

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi
2021-04-29 17:56:28 +08:00
committed by patacongo
parent bb9b58bdde
commit 54eef9f639
7 changed files with 166 additions and 10 deletions
+2 -1
View File
@@ -84,13 +84,14 @@
"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 *"
"pthread_cond_wait","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t *","FAR pthread_mutex_t *"
"pthread_detach","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t"
"pthread_exit","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","noreturn","pthread_addr_t"
"nx_pthread_exit","nuttx/pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","noreturn","pthread_addr_t"
"pthread_getaffinity_np","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP)","int","pthread_t","size_t","FAR cpu_set_t*"
"pthread_getschedparam","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","FAR int *","FAR struct sched_param *"
"pthread_join","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","FAR pthread_addr_t *"
1 _exit unistd.h noreturn int
84 pselect sys/select.h int int
85 pthread_cancel pthread.h !defined(CONFIG_DISABLE_PTHREAD) int pthread_t
86 pthread_cleanup_pop pthread.h defined(CONFIG_PTHREAD_CLEANUP) void int
87 pthread_cleanup_poplist nuttx/pthread.h defined(CONFIG_PTHREAD_CLEANUP) int struct pthread_cleanup_s *
88 pthread_cleanup_push pthread.h defined(CONFIG_PTHREAD_CLEANUP) void pthread_cleanup_t
89 pthread_cond_broadcast pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_cond_t *
90 pthread_cond_clockwait pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_cond_t *
91 pthread_cond_signal pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_cond_t *
92 pthread_cond_wait pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_cond_t *
93 pthread_detach pthread.h !defined(CONFIG_DISABLE_PTHREAD) int pthread_t
94 pthread_exit nx_pthread_exit pthread.h nuttx/pthread.h !defined(CONFIG_DISABLE_PTHREAD) noreturn pthread_addr_t
95 pthread_getaffinity_np pthread.h !defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP) int pthread_t
96 pthread_getschedparam pthread.h !defined(CONFIG_DISABLE_PTHREAD) int pthread_t
97 pthread_join pthread.h !defined(CONFIG_DISABLE_PTHREAD) int pthread_t