Changeset 48b40d8 in rtems


Ignore:
Timestamp:
08/13/96 19:53:51 (26 years ago)
Author:
Mark Johannes <Mark.Johannes@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
392b35e
Parents:
c8a4ed6
Message:

_POSIX_Condition_variables_Wait_support: changed status of lock and unlock to return EINVAL is there is an error

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/cond.c

    rc8a4ed6 r48b40d8  
    389389      if ( status ) {
    390390        _Thread_Enable_dispatch();
    391         return status;
     391        return EINVAL;
    392392      }
    393393 
     
    411411      status = pthread_mutex_lock( mutex );
    412412      if ( status )
    413         return status;
     413        return EINVAL;
    414414   
    415415      return _Thread_Executing->Wait.return_code;
  • cpukit/posix/src/cond.c

    rc8a4ed6 r48b40d8  
    389389      if ( status ) {
    390390        _Thread_Enable_dispatch();
    391         return status;
     391        return EINVAL;
    392392      }
    393393 
     
    411411      status = pthread_mutex_lock( mutex );
    412412      if ( status )
    413         return status;
     413        return EINVAL;
    414414   
    415415      return _Thread_Executing->Wait.return_code;
Note: See TracChangeset for help on using the changeset viewer.