diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-04 15:23:12 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-04 15:23:12 +0000 |
commit | f8437c81d5e191ebe10374938974315aee07faf3 (patch) | |
tree | 81e073f66d0e943a7067e5b36923dd1a10219137 /cpukit/posix/src/psignalunblockthread.c | |
parent | 2008-09-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-f8437c81d5e191ebe10374938974315aee07faf3.tar.bz2 |
Convert to "bool".
Diffstat (limited to 'cpukit/posix/src/psignalunblockthread.c')
-rw-r--r-- | cpukit/posix/src/psignalunblockthread.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/cpukit/posix/src/psignalunblockthread.c b/cpukit/posix/src/psignalunblockthread.c index 980413ff74..40cb43a8a9 100644 --- a/cpukit/posix/src/psignalunblockthread.c +++ b/cpukit/posix/src/psignalunblockthread.c @@ -36,7 +36,7 @@ */ /* XXX this routine could probably be cleaned up */ -boolean _POSIX_signals_Unblock_thread( +bool _POSIX_signals_Unblock_thread( Thread_Control *the_thread, int signo, siginfo_t *info @@ -70,14 +70,14 @@ boolean _POSIX_signals_Unblock_thread( } _Thread_queue_Extract_with_proxy( the_thread ); - return TRUE; + return true; } /* * This should only be reached via pthread_kill(). */ - return FALSE; + return false; } /* @@ -98,7 +98,7 @@ boolean _POSIX_signals_Unblock_thread( * + Any other combination, do nothing. */ - the_thread->do_post_task_switch_extension = TRUE; + the_thread->do_post_task_switch_extension = true; if ( the_thread->current_state & STATES_INTERRUPTIBLE_BY_SIGNAL ) { the_thread->Wait.return_code = EINTR; @@ -123,6 +123,5 @@ boolean _POSIX_signals_Unblock_thread( _ISR_Signals_to_thread_executing = TRUE; } } - return FALSE; - + return false; } |