From fdec30ba62ee920593806e4dbbe97c9152cacafe Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 10 Jun 1996 20:47:23 +0000 Subject: first attempt at the routine which vectors signals. --- c/src/exec/posix/src/pthread.c | 4 +++- 1 file changed, 3 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 484b93e847..aaf005312f 100644 --- a/c/src/exec/posix/src/pthread.c +++ b/c/src/exec/posix/src/pthread.c @@ -29,7 +29,7 @@ const pthread_attr_t _POSIX_Threads_Default_attributes = { NULL, /* stackaddr */ STACK_MINIMUM_SIZE, /* stacksize */ PTHREAD_SCOPE_PROCESS, /* contentionscope */ - PTHREAD_INHERIT_SCHED, /* inheritsched */ + PTHREAD_EXPLICIT_SCHED, /* inheritsched */ SCHED_FIFO, /* schedpolicy */ { /* schedparam */ 128, /* sched_priority */ @@ -123,6 +123,8 @@ boolean _POSIX_Threads_Create_extension( api->schedparam.sched_priority = _POSIX_Priority_From_core( created->current_priority ); +/* XXX set signal parameters -- block all signals for non-posix threads */ + _Thread_queue_Initialize( &api->Join_List, OBJECTS_NO_CLASS, /* only used for proxy operations */ -- cgit v1.2.3