nuttx/syscall/syscall.csv
Huang Qi f4a0b7aedd libc: Call pthread_exit in user-space by up_pthread_exit
Drop to user-space in kernel/protected build with up_pthread_exit,
now all pthread_cleanup functions executed in user mode.

* A new syscall SYS_pthread_exit added
* A new tcb flag TCB_FLAG_CANCEL_DOING added
* up_pthread_exit implemented for riscv/arm arch

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2021-05-21 22:46:52 -06:00

17 KiB

1_exitunistd.hnoreturnint
2aio_readaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
3aio_writeaio.hdefined(CONFIG_FS_AIO)intFAR struct aiocb *
4atexitstdlib.hdefined(CONFIG_SCHED_ATEXIT)intvoid (*)(void)
5closeunistd.hintint
6closedirdirent.hintFAR DIR *
7dupunistd.hintint
8exitstdlib.hnoreturnint
9fsyncunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intint
10getenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)FAR char *FAR const char *
11if_nametoindexnet/if.hdefined(CONFIG_NETDEV_IFINDEX)unsigned intFAR const char *
12modhandlenuttx/module.hdefined(CONFIG_MODULE)FAR void *FAR const char *
13mq_closemqueue.h!defined(CONFIG_DISABLE_MQUEUE)intmqd_t
14mq_unlinkmqueue.h!defined(CONFIG_DISABLE_MQUEUE)intFAR const char *
15nx_task_spawnnuttx/spawn.hdefined(CONFIG_LIB_SYSCALL) && !defined(CONFIG_BUILD_KERNEL)intFAR const struct spawn_syscall_parms_s *
16opendirdirent.hFAR DIR *FAR const char *
17pthread_cancelpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
18pthread_cond_broadcastpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *
19pthread_cond_signalpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_cond_t *
20pthread_detachpthread.h!defined(CONFIG_DISABLE_PTHREAD)intpthread_t
21nx_pthread_exitnuttx/pthread.h!defined(CONFIG_DISABLE_PTHREAD)noreturnpthread_addr_t
22pthread_mutex_consistentpthread.h!defined(CONFIG_DISABLE_PTHREAD) && !defined(CONFIG_PTHREAD_MUTEX_UNSAFE)intFAR pthread_mutex_t *
23pthread_mutex_destroypthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
24pthread_mutex_trylockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
25pthread_mutex_unlockpthread.h!defined(CONFIG_DISABLE_PTHREAD)intFAR pthread_mutex_t *
26putenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *
27readdirdirent.hFAR struct dirent *FAR DIR *
28rewinddirdirent.hvoidFAR DIR *
29rmdirunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char*
30rmmodnuttx/module.hdefined(CONFIG_MODULE)intFAR void *
31sched_getschedulersched.hintpid_t
32sem_closesemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR sem_t *
33sem_destroysemaphore.hintFAR sem_t *
34sem_postsemaphore.hintFAR sem_t *
35sem_trywaitsemaphore.hintFAR sem_t *
36sem_unlinksemaphore.hdefined(CONFIG_FS_NAMED_SEMAPHORES)intFAR const char *
37sem_waitsemaphore.hintFAR sem_t *
38setgidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intgid_t
39setuidunistd.hdefined(CONFIG_SCHED_USER_IDENTITY)intuid_t
40shmdtsys/shm.hdefined(CONFIG_MM_SHM)intFAR const void *
41sigpendingsignal.hintFAR sigset_t *
42sigsuspendsignal.hintFAR const sigset_t *
43task_deletesched.hintpid_t
44task_restartsched.hintpid_t
45tcdraintermios.hdefined(CONFIG_SERIAL_TERMIOS)intint
46telldirdirent.hoff_tFAR DIR *
47timer_deletetime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
48timer_getoverruntime.h!defined(CONFIG_DISABLE_POSIX_TIMERS)inttimer_t
49tls_freenuttx/tls.hCONFIG_TLS_NELEM > 0intint
50unlinkunistd.h!defined(CONFIG_DISABLE_MOUNTPOINT)intFAR const char *
51unsetenvstdlib.h!defined(CONFIG_DISABLE_ENVIRON)intFAR const char *
52waitsys/wait.hdefined(CONFIG_SCHED_WAITPID) && defined(CONFIG_SCHED_HAVE_PARENT)pid_tFAR int *