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

Simplify the pthread_parallel_create() syscall.

File:
1 edited

Legend:

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

    r637 r650  
    5151/////////////////////////////////////
    5252int pthread_join( pthread_t    trdid,
    53                   void      ** exit_value )
     53                  void      ** exit_status )
    5454{
    5555    return hal_user_syscall( SYS_THREAD_JOIN,
    5656                             (reg_t)trdid,
    57                              (reg_t)exit_value, 0, 0 );
     57                             (reg_t)exit_status, 0, 0 );
    5858}
    5959
     
    6565}
    6666
    67 /////////////////////////////////////
    68 int pthread_exit( void * exit_value )
     67//////////////////////////////////////
     68int pthread_exit( void * exit_status )
    6969{
    7070    return hal_user_syscall( SYS_THREAD_EXIT,
    71                              (reg_t)exit_value, 0, 0, 0 );
     71                             (reg_t)exit_status, 0, 0, 0 );
    7272}
    7373
Note: See TracChangeset for help on using the changeset viewer.