summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coremutexsurrender.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-18 06:13:55 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-18 06:13:55 +0000
commita0ed4edee0b01392c5274ec85b26cf682a9ade3e (patch)
tree18fc392d8e8e24200cf2f38c4eda011df4442bd4 /cpukit/score/src/coremutexsurrender.c
parentRemove stray white spaces. (diff)
downloadrtems-a0ed4edee0b01392c5274ec85b26cf682a9ade3e.tar.bz2
Remove stray white spaces.
Diffstat (limited to '')
-rw-r--r--cpukit/score/src/coremutexsurrender.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/src/coremutexsurrender.c b/cpukit/score/src/coremutexsurrender.c
index 8866fce693..d527d1fa79 100644
--- a/cpukit/score/src/coremutexsurrender.c
+++ b/cpukit/score/src/coremutexsurrender.c
@@ -59,7 +59,7 @@ CORE_mutex_Status _CORE_mutex_Surrender(
* allowed when the mutex in quetion is FIFO or simple Priority
* discipline. But Priority Ceiling or Priority Inheritance mutexes
* must be released by the thread which acquired them.
- */
+ */
if ( the_mutex->Attributes.only_owner_release ) {
if ( !_Thread_Is_executing( holder ) )
@@ -68,7 +68,7 @@ CORE_mutex_Status _CORE_mutex_Surrender(
/* XXX already unlocked -- not right status */
- if ( !the_mutex->nest_count )
+ if ( !the_mutex->nest_count )
return CORE_MUTEX_STATUS_SUCCESSFUL;
the_mutex->nest_count--;
@@ -100,7 +100,7 @@ CORE_mutex_Status _CORE_mutex_Surrender(
if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) ||
_CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) {
- if ( holder->resource_count == 0 &&
+ if ( holder->resource_count == 0 &&
holder->real_priority != holder->current_priority ) {
_Thread_Change_priority( holder, holder->real_priority, TRUE );
}
@@ -117,7 +117,7 @@ CORE_mutex_Status _CORE_mutex_Surrender(
( *api_mutex_mp_support)( the_thread, id );
- } else
+ } else
#endif
{