forked from Imagelibrary/rtems
2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/pthreadcreate.c: Add commit. * posix/src/pthreadinitthreads.c: Fix line length.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* posix/src/pthreadcreate.c: Add commit.
|
||||
* posix/src/pthreadinitthreads.c: Fix line length.
|
||||
|
||||
2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* score/inline/rtems/score/object.inl: Add _Objects_Is_api_valid.
|
||||
|
||||
@@ -237,6 +237,9 @@ int pthread_create(
|
||||
|
||||
/*
|
||||
* _Thread_Start only fails if the thread was in the incorrect state
|
||||
*
|
||||
* NOTE: This can only happen if someone slips in and touches the
|
||||
* thread while we are creating it.
|
||||
*/
|
||||
|
||||
if ( !status ) {
|
||||
|
||||
@@ -73,7 +73,7 @@ void _POSIX_Threads_Initialize_user_threads_body( void )
|
||||
status = pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
|
||||
assert( !status );
|
||||
|
||||
status = pthread_attr_setstacksize( &attr, user_threads[ index ].stack_size);
|
||||
status = pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
|
||||
assert( !status );
|
||||
|
||||
status = pthread_create(
|
||||
|
||||
Reference in New Issue
Block a user