diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-14 14:46:29 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-14 14:46:29 +0000 |
commit | eb3f1bc10742ee454e4ac5fd4e3bb732f9ee17a2 (patch) | |
tree | ce0dd7a45201617747ed77441c9aa89914d4c46d | |
parent | 96b6f1115dfde94f036d1e961c1c27b3ef10c011 (diff) |
2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1260/cpukit
* src/pthread.c: Get initial signals blocked from creating thread
not from ourselves.
-rw-r--r-- | cpukit/posix/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/posix/src/pthread.c | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/posix/ChangeLog b/cpukit/posix/ChangeLog index 232905fb41..d139fc86ae 100644 --- a/cpukit/posix/ChangeLog +++ b/cpukit/posix/ChangeLog @@ -1,3 +1,9 @@ +2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com> + + PR 1260/cpukit + * src/pthread.c: Get initial signals blocked from creating thread + not from ourselves. + 2007-03-05 Joel Sherrill <joel@OARcorp.com> PR 1221/cpukit diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c index 10193c849e..f734249fc1 100644 --- a/cpukit/posix/src/pthread.c +++ b/cpukit/posix/src/pthread.c @@ -170,9 +170,10 @@ boolean _POSIX_Threads_Create_extension( if ( _Objects_Get_API( created->Object.id ) == OBJECTS_POSIX_API && _Objects_Get_class( created->Object.id ) == 1 ) { executing_api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ]; - api->signals_blocked = api->signals_blocked; - } else + api->signals_blocked = executing_api->signals_blocked; + } else { api->signals_blocked = 0xffffffff; + } _Thread_queue_Initialize( &api->Join_List, |