mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
task/pthread_cancelpt: Move cancel point handling to libc, data to TLS
This moves task / thread cancel point logic from the NuttX kernel into libc, while the data needed by the cancel point logic is moved to TLS. The change is an enabler to move user-space APIs to libc as well, for a coherent user/kernel separation.
This commit is contained in:
@@ -184,10 +184,7 @@
|
||||
"task_create","sched.h","!defined(CONFIG_BUILD_KERNEL)", "int","FAR const char *","int","int","main_t","FAR char * const []|FAR char * const *"
|
||||
"task_delete","sched.h","!defined(CONFIG_BUILD_KERNEL)","int","pid_t"
|
||||
"task_restart","sched.h","!defined(CONFIG_BUILD_KERNEL)","int","pid_t"
|
||||
"task_setcancelstate","sched.h","","int","int","FAR int *"
|
||||
"task_setcanceltype","sched.h","defined(CONFIG_CANCELLATION_POINTS)","int","int","FAR int *"
|
||||
"task_spawn","nuttx/spawn.h","!defined(CONFIG_BUILD_KERNEL)","int","FAR const char *","main_t","FAR const posix_spawn_file_actions_t *","FAR const posix_spawnattr_t *","FAR char * const []|FAR char * const *","FAR char * const []|FAR char * const *"
|
||||
"task_testcancel","sched.h","defined(CONFIG_CANCELLATION_POINTS)","void"
|
||||
"tgkill","signal.h","","int","pid_t","pid_t","int"
|
||||
"time","time.h","","time_t","FAR time_t *"
|
||||
"timer_create","time.h","!defined(CONFIG_DISABLE_POSIX_TIMERS)","int","clockid_t","FAR struct sigevent *","FAR timer_t *"
|
||||
|
||||
|
Reference in New Issue
Block a user