diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-07 15:30:21 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-01-07 15:30:21 +0000 |
commit | 580004a27c84231b39272ba57ab02b1a55da41d3 (patch) | |
tree | d9060115a7bd11487a4c4483d8e17b1e44835169 | |
parent | 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-580004a27c84231b39272ba57ab02b1a55da41d3.tar.bz2 |
2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/pthreadcreate.c: Add commit.
* posix/src/pthreadinitthreads.c: Fix line length.
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/posix/src/pthreadcreate.c | 3 | ||||
-rw-r--r-- | cpukit/posix/src/pthreadinitthreads.c | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 37396827f9..b167104689 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,10 @@ 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. 2008-01-07 Joel Sherrill <joel.sherrill@oarcorp.com> diff --git a/cpukit/posix/src/pthreadcreate.c b/cpukit/posix/src/pthreadcreate.c index 2423bda4d3..e5aff1ea78 100644 --- a/cpukit/posix/src/pthreadcreate.c +++ b/cpukit/posix/src/pthreadcreate.c @@ -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 ) { diff --git a/cpukit/posix/src/pthreadinitthreads.c b/cpukit/posix/src/pthreadinitthreads.c index 5f71770e95..0e452ad7a0 100644 --- a/cpukit/posix/src/pthreadinitthreads.c +++ b/cpukit/posix/src/pthreadinitthreads.c @@ -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( |