summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/coremutex.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-12-22 06:05:34 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-12-22 06:05:34 +0000
commitc6b37199d93a9d74d2ce631f177e01d308193be5 (patch)
treee80d667c7da4f0c56c3e7a0f0995753effaaefa8 /cpukit/score/include/rtems/score/coremutex.h
parent2008-12-22 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-c6b37199d93a9d74d2ce631f177e01d308193be5.tar.bz2
Eliminate TRUE/FALSE.
Diffstat (limited to 'cpukit/score/include/rtems/score/coremutex.h')
-rw-r--r--cpukit/score/include/rtems/score/coremutex.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/score/include/rtems/score/coremutex.h b/cpukit/score/include/rtems/score/coremutex.h
index 01414e0914..73a68189d8 100644
--- a/cpukit/score/include/rtems/score/coremutex.h
+++ b/cpukit/score/include/rtems/score/coremutex.h
@@ -178,7 +178,7 @@ typedef struct {
* be when attempting to acquire the mutex when it is already locked.
*/
CORE_mutex_Nesting_behaviors lock_nesting_behavior;
- /** When this field is TRUE, then only the thread that locked the mutex
+ /** When this field is true, then only the thread that locked the mutex
* is allowed to unlock it.
*/
bool only_owner_release;
@@ -269,7 +269,7 @@ void _CORE_mutex_Initialize(
* @brief Seize Mutex with Quick Success Path
*
* This routine attempts to receive a unit from the_mutex.
- * If a unit is available or if the wait flag is FALSE, then the routine
+ * If a unit is available or if the wait flag is false, then the routine
* returns. Otherwise, the calling task is blocked until a unit becomes
* available.
*
@@ -340,7 +340,7 @@ void _CORE_mutex_Seize_interrupt_blocking(
*
* @param[in] _the_mutex is the mutex to attempt to lock
* @param[in] _id is the Id of the owning API level Semaphore object
- * @param[in] _wait is TRUE if the thread is willing to wait
+ * @param[in] _wait is true if the thread is willing to wait
* @param[in] _timeout is the maximum number of ticks to block
* @param[in] _level is a temporary variable used to contain the ISR
* disable level cookie
@@ -368,7 +368,7 @@ void _CORE_mutex_Seize_interrupt_blocking(
) { \
_Internal_error_Occurred( \
INTERNAL_ERROR_CORE, \
- FALSE, \
+ false, \
INTERNAL_ERROR_MUTEX_OBTAIN_FROM_BAD_STATE \
); \
} \
@@ -393,7 +393,7 @@ void _CORE_mutex_Seize_interrupt_blocking(
*
* @param[in] _the_mutex is the mutex to attempt to lock
* @param[in] _id is the Id of the owning API level Semaphore object
- * @param[in] _wait is TRUE if the thread is willing to wait
+ * @param[in] _wait is true if the thread is willing to wait
* @param[in] _timeout is the maximum number of ticks to block
* @param[in] _level is a temporary variable used to contain the ISR
* disable level cookie