2011-07-27 Joel Sherrill <joel.sherrilL@OARcorp.com>

* posix/src/pthread.c, posix/src/pthreadjoin.c: Revert accidental
	commit.
This commit is contained in:
Joel Sherrill
2011-07-27 17:17:49 +00:00
parent 1c5dde0ba4
commit f2dd10b7d1
3 changed files with 6 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
2011-07-27 Joel Sherrill <joel.sherrilL@OARcorp.com>
* posix/src/pthread.c, posix/src/pthreadjoin.c: Revert accidental
commit.
2011-07-27 Petr Benes <benesp16@fel.cvut.cz>
PR 1856/cpukit

View File

@@ -217,7 +217,7 @@ bool _POSIX_Threads_Create_extension(
_Thread_queue_Initialize(
&api->Join_List,
THREAD_QUEUE_DISCIPLINE_FIFO,
STATES_WAITING_FOR_JOIN_AT_EXIT | STATES_INTERRUPTIBLE_BY_SIGNAL,
STATES_WAITING_FOR_JOIN_AT_EXIT,
0
);

View File

@@ -32,7 +32,6 @@ int pthread_join(
Objects_Locations location;
void *return_pointer;
on_EINTR:
the_thread = _Thread_Get( thread, &location );
switch ( location ) {
@@ -61,11 +60,6 @@ on_EINTR:
_Thread_Enable_dispatch();
/*
if ( _Thread_Executing->Wait.return_code == EINTR )
goto on_EINTR;
*/
if ( value_ptr )
*value_ptr = return_pointer;
return 0;