Changeset 0f5bc89c in rtems


Ignore:
Timestamp:
09/27/04 22:43:14 (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
ab924e93
Parents:
206d973
Message:

2004-09-27 Joel Sherrill <joel@…>

PR 294/rtems

  • src/pthread.c: POSIX thread exit handler now confirms that it created the executing thread before implicitly exitting it.
Location:
cpukit/posix
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/ChangeLog

    r206d973 r0f5bc89c  
     12004-09-27      Joel Sherrill <joel@OARcorp.com>
     2
     3        PR 294/rtems
     4        * src/pthread.c: POSIX thread exit handler now confirms that it created
     5        the executing thread before implicitly exitting it.
     6
    172004-05-21  Joel Sherrill <joel@OARcorp.com>
    28
  • cpukit/posix/src/pthread.c

    r206d973 r0f5bc89c  
    240240)
    241241{
    242   pthread_exit( executing->Wait.return_argument );
     242  /*
     243   *  If the executing thread was not created with the POSIX API, then this
     244   *  API do not get to define its exit behavior.
     245   */
     246  if ( _Objects_Get_API( executing->Object.id ) == OBJECTS_POSIX_API )
     247    pthread_exit( executing->Wait.return_argument );
    243248}
    244249
Note: See TracChangeset for help on using the changeset viewer.