Ignore:
Timestamp:
Nov 14, 2019, 11:44:12 AM (18 months ago)
Author:
alain
Message:

Simplify the pthread_parallel_create() syscall.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/libpthread/pthread.h

    r647 r650  
    5050 * This blocking function causes the calling thread to wait for the termination of a target
    5151 * thread identified by the <trdid> argument. The <exit_value> defines the buffer to store
    52  * the pointer returned by the terminating thread.
    53  *********************************************************************************************
    54  * @ trdid       : target thread identifier in process.
    55  * @ start_args  : [in]  pointer on start function arguments.
     52 * the pointer returned by the target thread.
     53 *********************************************************************************************
     54 * @ trdid       : [in]  target thread identifier in process.
     55 * @ exit_status : [out] buffer for pointer returned by target thread to joining thread.
    5656 * @ return 0 if success / return -1 if failure.
    5757 ********************************************************************************************/
    5858int pthread_join( pthread_t    trdid,
    59                   void      ** exit_value );
     59                  void      ** exit_status );
    6060
    6161/*********************************************************************************************
     
    7070
    7171/*********************************************************************************************
    72  * This function terminates the execution of the calling thread, and makes the exit_value
     72 * This function terminates the execution of the calling thread, and makes the <exit_status>
    7373 * pointer available to any successful pthread_join() with the terminating thread.
    7474 *********************************************************************************************
    75  * @ exit_vallue  : [in] pointer to be returned to parent thread if thread is attached.
    76  * @ return 0 if success / return -1 if failure.
    77  ********************************************************************************************/
    78 int pthread_exit( void * exit_value );
     75 * @ exit_status  : [in] pointer to be returned to joining thread.
     76 * @ return 0 if success / return -1 if failure.
     77 ********************************************************************************************/
     78int pthread_exit( void * exit_status );
    7979
    8080/*********************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.