Changeset 42ed3004 in rtems
- Timestamp:
- 07/06/00 19:01:58 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- d895fe8
- Parents:
- 04e4829
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/src/coremutexsurrender.c
r04e4829 r42ed3004 64 64 if ( the_mutex->Attributes.only_owner_release ) { 65 65 if ( !_Thread_Is_executing( holder ) ) 66 return ( CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE );66 return CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE; 67 67 } 68 68 … … 70 70 71 71 if ( !the_mutex->nest_count ) 72 return ( CORE_MUTEX_STATUS_SUCCESSFUL );72 return CORE_MUTEX_STATUS_SUCCESSFUL; 73 73 74 74 the_mutex->nest_count--; … … 140 140 the_mutex->lock = CORE_MUTEX_UNLOCKED; 141 141 142 return ( CORE_MUTEX_STATUS_SUCCESSFUL );142 return CORE_MUTEX_STATUS_SUCCESSFUL; 143 143 } 144 144 -
cpukit/score/src/coremutexsurrender.c
r04e4829 r42ed3004 64 64 if ( the_mutex->Attributes.only_owner_release ) { 65 65 if ( !_Thread_Is_executing( holder ) ) 66 return ( CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE );66 return CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE; 67 67 } 68 68 … … 70 70 71 71 if ( !the_mutex->nest_count ) 72 return ( CORE_MUTEX_STATUS_SUCCESSFUL );72 return CORE_MUTEX_STATUS_SUCCESSFUL; 73 73 74 74 the_mutex->nest_count--; … … 140 140 the_mutex->lock = CORE_MUTEX_UNLOCKED; 141 141 142 return ( CORE_MUTEX_STATUS_SUCCESSFUL );142 return CORE_MUTEX_STATUS_SUCCESSFUL; 143 143 } 144 144
Note: See TracChangeset
for help on using the changeset viewer.