summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-10-21 22:27:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-10-21 22:27:16 +0000
commita5ba6758088e98d35a7e65cdc5a18a184f585490 (patch)
tree3524e78942f71ce593b5f7854ef7c53de746dfe9 /cpukit/posix
parent2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-a5ba6758088e98d35a7e65cdc5a18a184f585490.tar.bz2
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/psignalunblockthread.c: Formatting.
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/src/psignalunblockthread.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/posix/src/psignalunblockthread.c b/cpukit/posix/src/psignalunblockthread.c
index baa55c34c2..f6bf5fcc7d 100644
--- a/cpukit/posix/src/psignalunblockthread.c
+++ b/cpukit/posix/src/psignalunblockthread.c
@@ -104,16 +104,16 @@ bool _POSIX_signals_Unblock_thread(
* In pthread_cond_wait, a thread will be blocking on a thread
* queue, but is also interruptible by a POSIX signal.
*/
- if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) )
- _Thread_queue_Extract_with_proxy( the_thread );
- else if ( _States_Is_delaying(the_thread->current_state) ) {
- (void) _Watchdog_Remove( &the_thread->Timer );
- _Thread_Unblock( the_thread );
- }
+ if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) )
+ _Thread_queue_Extract_with_proxy( the_thread );
+ else if ( _States_Is_delaying(the_thread->current_state) ) {
+ (void) _Watchdog_Remove( &the_thread->Timer );
+ _Thread_Unblock( the_thread );
+ }
} else if ( the_thread->current_state == STATES_READY ) {
if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
- _Thread_Dispatch_necessary = true;
+ _Thread_Dispatch_necessary = true;
}
}
return false;