Changeset 092fe28e in rtems


Ignore:
Timestamp:
Sep 27, 2004, 10:44:19 PM (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d7034e1
Parents:
13eca888
Message:

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

PR 294/rtems

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

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

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

    r13eca888 r092fe28e  
    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.