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:
Joel Sherrill
2008-01-07 15:30:21 +00:00
parent 1ccbd63a6a
commit 580004a27c
3 changed files with 9 additions and 1 deletions

View File

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

View File

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

View File

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