From 98ed15e30fffa76a0dc298e1d68cf21a70f90bae Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 11 Jun 1996 16:01:37 +0000 Subject: Basic signal functionality appears to work. pthread_kill() can successfully send signals to the current thread or to another blocked thread. nanosleep() can be interrupted by a signal and return the time remaining. Post switch extension added to dispatch posix signal handlers. --- c/src/exec/posix/src/pthread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'c/src/exec/posix/src/pthread.c') diff --git a/c/src/exec/posix/src/pthread.c b/c/src/exec/posix/src/pthread.c index aaf005312f..877af7a8ff 100644 --- a/c/src/exec/posix/src/pthread.c +++ b/c/src/exec/posix/src/pthread.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include @@ -222,7 +223,7 @@ API_extensions_Control _POSIX_Threads_API_extensions = { { NULL, NULL }, NULL, /* predriver */ _POSIX_Threads_Initialize_user_threads, /* postdriver */ - NULL, /* post switch */ + _POSIX_signals_Post_switch_extension, /* post switch */ }; User_extensions_Control _POSIX_Threads_User_extensions = { -- cgit v1.2.3