Changeset 4f60309b in rtems
- Timestamp:
- 02/01/96 22:09:07 (28 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- d57392d
- Parents:
- f00a0522
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/src/coremutex.c
rf00a0522 r4f60309b 123 123 } 124 124 125 if ( !wait ) {126 _ISR_Enable( level );127 executing->Wait.return_code = CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT;128 return;129 }130 131 125 if ( _Objects_Are_ids_equal( 132 126 _Thread_Executing->Object.id, the_mutex->holder_id ) ) { … … 137 131 138 132 _ISR_Enable( level ); 133 return; 134 } 135 136 if ( !wait ) { 137 _ISR_Enable( level ); 138 executing->Wait.return_code = CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT; 139 139 return; 140 140 } -
cpukit/score/src/coremutex.c
rf00a0522 r4f60309b 123 123 } 124 124 125 if ( !wait ) {126 _ISR_Enable( level );127 executing->Wait.return_code = CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT;128 return;129 }130 131 125 if ( _Objects_Are_ids_equal( 132 126 _Thread_Executing->Object.id, the_mutex->holder_id ) ) { … … 137 131 138 132 _ISR_Enable( level ); 133 return; 134 } 135 136 if ( !wait ) { 137 _ISR_Enable( level ); 138 executing->Wait.return_code = CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT; 139 139 return; 140 140 }
Note: See TracChangeset
for help on using the changeset viewer.