Changeset af04a791 in rtems
- Timestamp:
- 08/12/96 17:40:56 (27 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- b1af454
- Parents:
- cdcea6ce
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/posix/src/cond.c
rcdcea6ce raf04a791 12 12 #include <rtems/posix/cond.h> 13 13 #include <rtems/posix/time.h> 14 #include <rtems/posix/mutex.h> 14 15 15 16 /* … … 379 380 380 381 status = pthread_mutex_unlock( mutex ); 381 if ( !status )382 return status;382 if ( status ) 383 return _POSIX_Mutex_From_core_mutex_status( status ); 383 384 384 385 the_cond->Mutex = *mutex; … … 391 392 392 393 status = pthread_mutex_lock( mutex ); 393 if ( !status )394 return status;394 if ( status ) 395 return _POSIX_Mutex_From_core_mutex_status( status ); 395 396 396 397 return _Thread_Executing->Wait.return_code; -
cpukit/posix/src/cond.c
rcdcea6ce raf04a791 12 12 #include <rtems/posix/cond.h> 13 13 #include <rtems/posix/time.h> 14 #include <rtems/posix/mutex.h> 14 15 15 16 /* … … 379 380 380 381 status = pthread_mutex_unlock( mutex ); 381 if ( !status )382 return status;382 if ( status ) 383 return _POSIX_Mutex_From_core_mutex_status( status ); 383 384 384 385 the_cond->Mutex = *mutex; … … 391 392 392 393 status = pthread_mutex_lock( mutex ); 393 if ( !status )394 return status;394 if ( status ) 395 return _POSIX_Mutex_From_core_mutex_status( status ); 395 396 396 397 return _Thread_Executing->Wait.return_code;
Note: See TracChangeset
for help on using the changeset viewer.