summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/pthread.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-10 20:47:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-10 20:47:23 +0000
commitfdec30ba62ee920593806e4dbbe97c9152cacafe (patch)
treecb86ea63fcf716f5664270e2d79991bb2e5943fc /c/src/exec/posix/src/pthread.c
parent*** empty log message *** (diff)
downloadrtems-fdec30ba62ee920593806e4dbbe97c9152cacafe.tar.bz2
first attempt at the routine which vectors signals.
Diffstat (limited to 'c/src/exec/posix/src/pthread.c')
-rw-r--r--c/src/exec/posix/src/pthread.c4
1 files changed, 3 insertions, 1 deletions
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 */