forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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>
|
2007-09-13 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
PR 1259/rtems
|
PR 1259/rtems
|
||||||
|
|||||||
@@ -170,9 +170,10 @@ boolean _POSIX_Threads_Create_extension(
|
|||||||
if ( _Objects_Get_API( created->Object.id ) == OBJECTS_POSIX_API &&
|
if ( _Objects_Get_API( created->Object.id ) == OBJECTS_POSIX_API &&
|
||||||
_Objects_Get_class( created->Object.id ) == 1 ) {
|
_Objects_Get_class( created->Object.id ) == 1 ) {
|
||||||
executing_api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
|
executing_api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
|
||||||
api->signals_blocked = api->signals_blocked;
|
api->signals_blocked = executing_api->signals_blocked;
|
||||||
} else
|
} else {
|
||||||
api->signals_blocked = 0xffffffff;
|
api->signals_blocked = 0xffffffff;
|
||||||
|
}
|
||||||
|
|
||||||
_Thread_queue_Initialize(
|
_Thread_queue_Initialize(
|
||||||
&api->Join_List,
|
&api->Join_List,
|
||||||
|
|||||||
Reference in New Issue
Block a user