diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-14 14:44:34 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-09-14 14:44:34 +0000 |
commit | 36f191317325bb43f99363cdc8fc463a6e69532e (patch) | |
tree | 8f66a05c1ee1f51f1a241b437976bdb66520ec93 /cpukit | |
parent | 2007-09-13 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-36f191317325bb43f99363cdc8fc463a6e69532e.tar.bz2 |
2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1260/cpukit
* posix/src/pthread.c: Get initial signals blocked from creating thread
not from ourselves.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/posix/src/pthread.c | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 55c2159cdb..c660902d31 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2007-09-14 Joel Sherrill <joel.sherrill@OARcorp.com> + + PR 1260/cpukit + * posix/src/pthread.c: Get initial signals blocked from creating thread + not from ourselves. + 2007-09-13 Joel Sherrill <joel.sherrill@OARcorp.com> PR 1259/rtems diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c index bbd7a73a9e..c115d6c157 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, |