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:
Joel Sherrill
2007-09-14 14:44:34 +00:00
parent cb53c32c40
commit 36f1913173
2 changed files with 9 additions and 2 deletions

View File

@@ -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

View File

@@ -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,