mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +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:
@@ -105,13 +105,6 @@ SYSCALL_LOOKUP(sem_wait, 1)
|
||||
SYSCALL_LOOKUP(pgalloc, 2)
|
||||
#endif
|
||||
|
||||
SYSCALL_LOOKUP(task_setcancelstate, 2)
|
||||
|
||||
#ifdef CONFIG_CANCELLATION_POINTS
|
||||
SYSCALL_LOOKUP(task_setcanceltype, 2)
|
||||
SYSCALL_LOOKUP(task_testcancel, 0)
|
||||
#endif
|
||||
|
||||
/* The following can be individually enabled */
|
||||
|
||||
#ifdef CONFIG_ARCH_HAVE_FORK
|
||||
|
||||
Reference in New Issue
Block a user