summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/posix/src/pthread.c')
-rw-r--r--c/src/exec/posix/src/pthread.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/c/src/exec/posix/src/pthread.c b/c/src/exec/posix/src/pthread.c
index e1bade3baf..e91bcd4708 100644
--- a/c/src/exec/posix/src/pthread.c
+++ b/c/src/exec/posix/src/pthread.c
@@ -207,7 +207,9 @@ User_extensions_routine _POSIX_Threads_Delete_extension(
api = deleted->API_Extensions[ THREAD_API_POSIX ];
- /* XXX run cancellation handlers */
+ /*
+ * Run the POSIX cancellation handlers
+ */
_POSIX_Keys_Run_destructors( deleted );
@@ -373,8 +375,9 @@ void _POSIX_Threads_Manager_initialization(
*/
_User_extensions_Add_API_set( &_POSIX_Threads_User_extensions );
-
+
_API_extensions_Add( &_POSIX_Threads_API_extensions );
+
/*
* If we supported MP, then here we would ...