aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel')
-rw-r--r--os/kernel/include/ch.h12
-rw-r--r--os/kernel/include/chbsem.h22
-rw-r--r--os/kernel/include/chcond.h2
-rw-r--r--os/kernel/include/chevents.h2
-rw-r--r--os/kernel/include/chheap.h2
-rw-r--r--os/kernel/include/chlists.h8
-rw-r--r--os/kernel/include/chmboxes.h2
-rw-r--r--os/kernel/include/chmempools.h2
-rw-r--r--os/kernel/include/chmsg.h2
-rw-r--r--os/kernel/include/chmtx.h6
-rw-r--r--os/kernel/include/chqueues.h24
-rw-r--r--os/kernel/include/chschd.h4
-rw-r--r--os/kernel/include/chsem.h2
-rw-r--r--os/kernel/include/chthreads.h8
-rw-r--r--os/kernel/src/chcond.c2
-rw-r--r--os/kernel/src/chheap.c12
-rw-r--r--os/kernel/src/chmboxes.c6
-rw-r--r--os/kernel/src/chmempools.c2
-rw-r--r--os/kernel/src/chmtx.c20
-rw-r--r--os/kernel/src/chqueues.c4
-rw-r--r--os/kernel/src/chschd.c4
-rw-r--r--os/kernel/src/chsem.c2
-rw-r--r--os/kernel/src/chsys.c2
-rw-r--r--os/kernel/src/chthreads.c4
24 files changed, 78 insertions, 78 deletions
diff --git a/os/kernel/include/ch.h b/os/kernel/include/ch.h
index a7cafb581..83d7e423c 100644
--- a/os/kernel/include/ch.h
+++ b/os/kernel/include/ch.h
@@ -81,22 +81,22 @@
/**
* @brief Generic success constant.
- * @details This constant is functionally equivalent to @p FALSE but more
+ * @details This constant is functionally equivalent to @p false but more
* readable, it can be used as return value of all those functions
- * returning a @p bool_t as a status indicator.
+ * returning a @p bool as a status indicator.
*/
#if !defined(CH_SUCCESS) || defined(__DOXYGEN__)
-#define CH_SUCCESS FALSE
+#define CH_SUCCESS false
#endif
/**
* @brief Generic failure constant.
- * @details This constant is functionally equivalent to @p TRUE but more
+ * @details This constant is functionally equivalent to @p true but more
* readable, it can be used as return value of all those functions
- * returning a @p bool_t as a status indicator.
+ * returning a @p bool as a status indicator.
*/
#if !defined(CH_FAILED) || defined(__DOXYGEN__)
-#define CH_FAILED TRUE
+#define CH_FAILED true
#endif
/** @} */
diff --git a/os/kernel/include/chbsem.h b/os/kernel/include/chbsem.h
index fd9b0d3e2..2808f9c41 100644
--- a/os/kernel/include/chbsem.h
+++ b/os/kernel/include/chbsem.h
@@ -117,15 +117,15 @@ typedef struct {
*
* @param[out] bsp pointer to a @p binary_semaphore_t structure
* @param[in] taken initial state of the binary semaphore:
- * - @a FALSE, the initial state is not taken.
- * - @a TRUE, the initial state is taken.
+ * - @a false, the initial state is not taken.
+ * - @a true, the initial state is taken.
* .
*
* @init
*/
-static inline void chBSemInit(binary_semaphore_t *bsp, bool taken) {
+static inline void chBSemObjectInit(binary_semaphore_t *bsp, bool taken) {
- chSemInit(&bsp->bs_sem, taken ? 0 : 1);
+ chSemObjectInit(&bsp->bs_sem, taken ? 0 : 1);
}
/**
@@ -225,8 +225,8 @@ static inline msg_t chBSemWaitTimeout(binary_semaphore_t *bsp,
*
* @param[in] bsp pointer to a @p binary_semaphore_t structure
* @param[in] taken new state of the binary semaphore
- * - @a FALSE, the new state is not taken.
- * - @a TRUE, the new state is taken.
+ * - @a false, the new state is not taken.
+ * - @a true, the new state is taken.
* .
*
* @iclass
@@ -246,8 +246,8 @@ static inline void chBSemResetI(binary_semaphore_t *bsp, bool taken) {
*
* @param[in] bsp pointer to a @p binary_semaphore_t structure
* @param[in] taken new state of the binary semaphore
- * - @a FALSE, the new state is not taken.
- * - @a TRUE, the new state is taken.
+ * - @a false, the new state is not taken.
+ * - @a true, the new state is taken.
* .
*
* @api
@@ -293,8 +293,8 @@ static inline void chBSemSignal(binary_semaphore_t *bsp) {
*
* @param[in] bsp pointer to a @p binary_semaphore_t structure
* @return The binary semaphore current state.
- * @retval FALSE if the binary semaphore is not taken.
- * @retval TRUE if the binary semaphore is taken.
+ * @retval false if the binary semaphore is not taken.
+ * @retval true if the binary semaphore is taken.
*
* @iclass
*/
@@ -302,7 +302,7 @@ static inline bool chBSemGetStateI(binary_semaphore_t *bsp) {
chDbgCheckClassI();
- return bsp->bs_sem.s_cnt > 0 ? FALSE : TRUE;
+ return bsp->bs_sem.s_cnt > 0 ? false : true;
}
#endif /* CH_USE_SEMAPHORES */
diff --git a/os/kernel/include/chcond.h b/os/kernel/include/chcond.h
index d692310b6..5b26a2281 100644
--- a/os/kernel/include/chcond.h
+++ b/os/kernel/include/chcond.h
@@ -91,7 +91,7 @@ typedef struct condition_variable {
#ifdef __cplusplus
extern "C" {
#endif
- void chCondInit(condition_variable_t *cp);
+ void chCondObjectInit(condition_variable_t *cp);
void chCondSignal(condition_variable_t *cp);
void chCondSignalI(condition_variable_t *cp);
void chCondBroadcast(condition_variable_t *cp);
diff --git a/os/kernel/include/chevents.h b/os/kernel/include/chevents.h
index 4fe072050..327b16c88 100644
--- a/os/kernel/include/chevents.h
+++ b/os/kernel/include/chevents.h
@@ -164,7 +164,7 @@ extern "C" {
*
* @init
*/
-static inline void chEvtInit(event_source_t *esp) {
+static inline void chEvtObjectInit(event_source_t *esp) {
esp->es_next = (event_listener_t *)(void *)esp;
}
diff --git a/os/kernel/include/chheap.h b/os/kernel/include/chheap.h
index 03c1643ab..bc5a9afb4 100644
--- a/os/kernel/include/chheap.h
+++ b/os/kernel/include/chheap.h
@@ -100,7 +100,7 @@ struct memory_heap {
extern "C" {
#endif
void _heap_init(void);
- void chHeapInit(memory_heap_t *heapp, void *buf, size_t size);
+ void chHeapObjectInit(memory_heap_t *heapp, void *buf, size_t size);
void *chHeapAlloc(memory_heap_t *heapp, size_t size);
void chHeapFree(void *p);
size_t chHeapStatus(memory_heap_t *heapp, size_t *sizep);
diff --git a/os/kernel/include/chlists.h b/os/kernel/include/chlists.h
index 83552040a..3f71b2afc 100644
--- a/os/kernel/include/chlists.h
+++ b/os/kernel/include/chlists.h
@@ -87,7 +87,7 @@ static inline void list_init(threads_list_t *tlp) {
}
/**
- * @brief Evaluates to @p TRUE if the specified threads list is empty.
+ * @brief Evaluates to @p true if the specified threads list is empty.
*
* @notapi
*/
@@ -97,7 +97,7 @@ static inline bool list_isempty(threads_list_t *tlp) {
}
/**
- * @brief Evaluates to @p TRUE if the specified threads list is not empty.
+ * @brief Evaluates to @p true if the specified threads list is not empty.
*
* @notapi
*/
@@ -117,7 +117,7 @@ static inline void queue_init(threads_queue_t *tqp) {
}
/**
- * @brief Evaluates to @p TRUE if the specified threads queue is empty.
+ * @brief Evaluates to @p true if the specified threads queue is empty.
*
* @notapi
*/
@@ -127,7 +127,7 @@ static inline bool queue_isempty(threads_queue_t *tqp) {
}
/**
- * @brief Evaluates to @p TRUE if the specified threads queue is not empty.
+ * @brief Evaluates to @p true if the specified threads queue is not empty.
*
* @notapi
*/
diff --git a/os/kernel/include/chmboxes.h b/os/kernel/include/chmboxes.h
index 6cb903e82..f34f32c87 100644
--- a/os/kernel/include/chmboxes.h
+++ b/os/kernel/include/chmboxes.h
@@ -108,7 +108,7 @@ typedef struct {
#ifdef __cplusplus
extern "C" {
#endif
- void chMBInit(mailbox_t *mbp, msg_t *buf, cnt_t n);
+ void chMBObjectInit(mailbox_t *mbp, msg_t *buf, cnt_t n);
void chMBReset(mailbox_t *mbp);
msg_t chMBPost(mailbox_t *mbp, msg_t msg, systime_t timeout);
msg_t chMBPostS(mailbox_t *mbp, msg_t msg, systime_t timeout);
diff --git a/os/kernel/include/chmempools.h b/os/kernel/include/chmempools.h
index f211ec1d1..f09db04ea 100644
--- a/os/kernel/include/chmempools.h
+++ b/os/kernel/include/chmempools.h
@@ -106,7 +106,7 @@ typedef struct {
#ifdef __cplusplus
extern "C" {
#endif
- void chPoolInit(memory_pool_t *mp, size_t size, memgetfunc_t provider);
+ void chPoolObjectInit(memory_pool_t *mp, size_t size, memgetfunc_t provider);
void chPoolLoadArray(memory_pool_t *mp, void *p, size_t n);
void *chPoolAllocI(memory_pool_t *mp);
void *chPoolAlloc(memory_pool_t *mp);
diff --git a/os/kernel/include/chmsg.h b/os/kernel/include/chmsg.h
index 1e9099c73..4461b30dd 100644
--- a/os/kernel/include/chmsg.h
+++ b/os/kernel/include/chmsg.h
@@ -70,7 +70,7 @@ extern "C" {
/*===========================================================================*/
/**
- * @brief Evaluates to TRUE if the thread has pending messages.
+ * @brief Evaluates to @p true if the thread has pending messages.
*
* @iclass
*/
diff --git a/os/kernel/include/chmtx.h b/os/kernel/include/chmtx.h
index 589caccba..d6f2ddf3d 100644
--- a/os/kernel/include/chmtx.h
+++ b/os/kernel/include/chmtx.h
@@ -89,11 +89,11 @@ typedef struct mutex {
#ifdef __cplusplus
extern "C" {
#endif
- void chMtxInit(mutex_t *mp);
+ void chMtxObjectInit(mutex_t *mp);
void chMtxLock(mutex_t *mp);
void chMtxLockS(mutex_t *mp);
- bool_t chMtxTryLock(mutex_t *mp);
- bool_t chMtxTryLockS(mutex_t *mp);
+ bool chMtxTryLock(mutex_t *mp);
+ bool chMtxTryLockS(mutex_t *mp);
mutex_t *chMtxUnlock(void);
mutex_t *chMtxUnlockS(void);
void chMtxUnlockAll(void);
diff --git a/os/kernel/include/chqueues.h b/os/kernel/include/chqueues.h
index 0ea68deb8..acb2f8919 100644
--- a/os/kernel/include/chqueues.h
+++ b/os/kernel/include/chqueues.h
@@ -149,24 +149,24 @@ typedef GenericQueue InputQueue;
#define chIQGetEmptyI(iqp) (chQSizeI(iqp) - chQSpaceI(iqp))
/**
- * @brief Evaluates to @p TRUE if the specified input queue is empty.
+ * @brief Evaluates to @p true if the specified input queue is empty.
*
* @param[in] iqp pointer to an @p InputQueue structure.
* @return The queue status.
- * @retval FALSE if the queue is not empty.
- * @retval TRUE if the queue is empty.
+ * @retval false if the queue is not empty.
+ * @retval true if the queue is empty.
*
* @iclass
*/
#define chIQIsEmptyI(iqp) ((bool_t)(chQSpaceI(iqp) <= 0))
/**
- * @brief Evaluates to @p TRUE if the specified input queue is full.
+ * @brief Evaluates to @p true if the specified input queue is full.
*
* @param[in] iqp pointer to an @p InputQueue structure.
* @return The queue status.
- * @retval FALSE if the queue is not full.
- * @retval TRUE if the queue is full.
+ * @retval false if the queue is not full.
+ * @retval true if the queue is full.
*
* @iclass
*/
@@ -264,12 +264,12 @@ typedef GenericQueue OutputQueue;
#define chOQGetEmptyI(oqp) chQSpaceI(oqp)
/**
- * @brief Evaluates to @p TRUE if the specified output queue is empty.
+ * @brief Evaluates to @p true if the specified output queue is empty.
*
* @param[in] oqp pointer to an @p OutputQueue structure.
* @return The queue status.
- * @retval FALSE if the queue is not empty.
- * @retval TRUE if the queue is empty.
+ * @retval false if the queue is not empty.
+ * @retval true if the queue is empty.
*
* @iclass
*/
@@ -277,12 +277,12 @@ typedef GenericQueue OutputQueue;
((oqp)->q_counter != 0)))
/**
- * @brief Evaluates to @p TRUE if the specified output queue is full.
+ * @brief Evaluates to @p true if the specified output queue is full.
*
* @param[in] oqp pointer to an @p OutputQueue structure.
* @return The queue status.
- * @retval FALSE if the queue is not full.
- * @retval TRUE if the queue is full.
+ * @retval false if the queue is not full.
+ * @retval true if the queue is full.
*
* @iclass
*/
diff --git a/os/kernel/include/chschd.h b/os/kernel/include/chschd.h
index 619800362..3aa189dcd 100644
--- a/os/kernel/include/chschd.h
+++ b/os/kernel/include/chschd.h
@@ -170,7 +170,7 @@ extern "C" {
/**
* @brief Determines if the current thread must reschedule.
- * @details This function returns @p TRUE if there is a ready thread with
+ * @details This function returns @p true if there is a ready thread with
* higher priority.
*
* @iclass
@@ -184,7 +184,7 @@ static inline bool chSchIsRescRequiredI(void) {
/**
* @brief Determines if yielding is possible.
- * @details This function returns @p TRUE if there is a ready thread with
+ * @details This function returns @p true if there is a ready thread with
* equal or higher priority.
*
* @sclass
diff --git a/os/kernel/include/chsem.h b/os/kernel/include/chsem.h
index 78cf8ac37..d8cbdc944 100644
--- a/os/kernel/include/chsem.h
+++ b/os/kernel/include/chsem.h
@@ -89,7 +89,7 @@ typedef struct semaphore {
#ifdef __cplusplus
extern "C" {
#endif
- void chSemInit(semaphore_t *sp, cnt_t n);
+ void chSemObjectInit(semaphore_t *sp, cnt_t n);
void chSemReset(semaphore_t *sp, cnt_t n);
void chSemResetI(semaphore_t *sp, cnt_t n);
msg_t chSemWait(semaphore_t *sp);
diff --git a/os/kernel/include/chthreads.h b/os/kernel/include/chthreads.h
index c46103faf..ef5a0dbe9 100644
--- a/os/kernel/include/chthreads.h
+++ b/os/kernel/include/chthreads.h
@@ -302,8 +302,8 @@ typedef msg_t (*tfunc_t)(void *);
* @note Can be invoked in any context.
*
* @param[in] tp pointer to the thread
- * @retval TRUE thread terminated.
- * @retval FALSE thread not terminated.
+ * @retval true thread terminated.
+ * @retval false thread not terminated.
*
* @special
*/
@@ -313,8 +313,8 @@ typedef msg_t (*tfunc_t)(void *);
* @brief Verifies if the current thread has a termination request pending.
* @note Can be invoked in any context.
*
- * @retval TRUE termination request pending.
- * @retval FALSE termination request not pending.
+ * @retval true termination request pending.
+ * @retval false termination request not pending.
*
* @special
*/
diff --git a/os/kernel/src/chcond.c b/os/kernel/src/chcond.c
index 6b718c7f9..d4d845512 100644
--- a/os/kernel/src/chcond.c
+++ b/os/kernel/src/chcond.c
@@ -73,7 +73,7 @@
*
* @init
*/
-void chCondInit(condition_variable_t *cp) {
+void chCondObjectInit(condition_variable_t *cp) {
chDbgCheck(cp != NULL, "chCondInit");
diff --git a/os/kernel/src/chheap.c b/os/kernel/src/chheap.c
index 4f20d3920..b41817123 100644
--- a/os/kernel/src/chheap.c
+++ b/os/kernel/src/chheap.c
@@ -88,9 +88,9 @@ void _heap_init(void) {
default_heap.h_free.h.u.next = (union heap_header *)NULL;
default_heap.h_free.h.size = 0;
#if CH_USE_MUTEXES || defined(__DOXYGEN__)
- chMtxInit(&default_heap.h_mtx);
+ chMtxObjectInit(&default_heap.h_mtx);
#else
- chSemInit(&default_heap.h_sem, 1);
+ chSemObjectInit(&default_heap.h_sem, 1);
#endif
}
@@ -105,7 +105,7 @@ void _heap_init(void) {
*
* @init
*/
-void chHeapInit(memory_heap_t *heapp, void *buf, size_t size) {
+void chHeapObjectInit(memory_heap_t *heapp, void *buf, size_t size) {
union heap_header *hp;
chDbgCheck(MEM_IS_ALIGNED(buf) && MEM_IS_ALIGNED(size), "chHeapInit");
@@ -116,9 +116,9 @@ void chHeapInit(memory_heap_t *heapp, void *buf, size_t size) {
hp->h.u.next = NULL;
hp->h.size = size - sizeof(union heap_header);
#if CH_USE_MUTEXES || defined(__DOXYGEN__)
- chMtxInit(&heapp->h_mtx);
+ chMtxObjectInit(&heapp->h_mtx);
#else
- chSemInit(&heapp->h_sem, 1);
+ chSemObjectInit(&heapp->h_sem, 1);
#endif
}
@@ -211,7 +211,7 @@ void chHeapFree(void *p) {
qp = &heapp->h_free;
H_LOCK(heapp);
- while (TRUE) {
+ while (true) {
chDbgAssert((hp < qp) || (hp >= LIMIT(qp)),
"chHeapFree(), #1",
"within free block");
diff --git a/os/kernel/src/chmboxes.c b/os/kernel/src/chmboxes.c
index 16f303daf..b1a4fb963 100644
--- a/os/kernel/src/chmboxes.c
+++ b/os/kernel/src/chmboxes.c
@@ -84,14 +84,14 @@
*
* @init
*/
-void chMBInit(mailbox_t *mbp, msg_t *buf, cnt_t n) {
+void chMBObjectInit(mailbox_t *mbp, msg_t *buf, cnt_t n) {
chDbgCheck((mbp != NULL) && (buf != NULL) && (n > 0), "chMBInit");
mbp->mb_buffer = mbp->mb_wrptr = mbp->mb_rdptr = buf;
mbp->mb_top = &buf[n];
- chSemInit(&mbp->mb_emptysem, n);
- chSemInit(&mbp->mb_fullsem, 0);
+ chSemObjectInit(&mbp->mb_emptysem, n);
+ chSemObjectInit(&mbp->mb_fullsem, 0);
}
/**
diff --git a/os/kernel/src/chmempools.c b/os/kernel/src/chmempools.c
index b52f0b6d9..44557235b 100644
--- a/os/kernel/src/chmempools.c
+++ b/os/kernel/src/chmempools.c
@@ -73,7 +73,7 @@
*
* @init
*/
-void chPoolInit(memory_pool_t *mp, size_t size, memgetfunc_t provider) {
+void chPoolObjectInit(memory_pool_t *mp, size_t size, memgetfunc_t provider) {
chDbgCheck((mp != NULL) && (size >= sizeof(void *)), "chPoolInit");
diff --git a/os/kernel/src/chmtx.c b/os/kernel/src/chmtx.c
index 84e868a3f..ec191b53d 100644
--- a/os/kernel/src/chmtx.c
+++ b/os/kernel/src/chmtx.c
@@ -96,7 +96,7 @@
*
* @init
*/
-void chMtxInit(mutex_t *mp) {
+void chMtxObjectInit(mutex_t *mp) {
chDbgCheck(mp != NULL, "chMtxInit");
@@ -217,13 +217,13 @@ void chMtxLockS(mutex_t *mp) {
*
* @param[in] mp pointer to the @p mutex_t structure
* @return The operation status.
- * @retval TRUE if the mutex has been successfully acquired
- * @retval FALSE if the lock attempt failed.
+ * @retval true if the mutex has been successfully acquired
+ * @retval false if the lock attempt failed.
*
* @api
*/
-bool_t chMtxTryLock(mutex_t *mp) {
- bool_t b;
+bool chMtxTryLock(mutex_t *mp) {
+ bool b;
chSysLock();
@@ -245,23 +245,23 @@ bool_t chMtxTryLock(mutex_t *mp) {
*
* @param[in] mp pointer to the @p mutex_t structure
* @return The operation status.
- * @retval TRUE if the mutex has been successfully acquired
- * @retval FALSE if the lock attempt failed.
+ * @retval true if the mutex has been successfully acquired
+ * @retval false if the lock attempt failed.
*
* @sclass
*/
-bool_t chMtxTryLockS(mutex_t *mp) {
+bool chMtxTryLockS(mutex_t *mp) {
chDbgCheckClassS();
chDbgCheck(mp != NULL, "chMtxTryLockS");
if (mp->m_owner != NULL)
- return FALSE;
+ return false;
mp->m_owner = currp;
mp->m_next = currp->p_mtxlist;
currp->p_mtxlist = mp;
- return TRUE;
+ return true;
}
/**
diff --git a/os/kernel/src/chqueues.c b/os/kernel/src/chqueues.c
index a4b0aa416..7115d77b6 100644
--- a/os/kernel/src/chqueues.c
+++ b/os/kernel/src/chqueues.c
@@ -224,7 +224,7 @@ size_t chIQReadTimeout(InputQueue *iqp, uint8_t *bp,
chDbgCheck(n > 0, "chIQReadTimeout");
chSysLock();
- while (TRUE) {
+ while (true) {
if (nfy)
nfy(iqp);
@@ -404,7 +404,7 @@ size_t chOQWriteTimeout(OutputQueue *oqp, const uint8_t *bp,
chDbgCheck(n > 0, "chOQWriteTimeout");
chSysLock();
- while (TRUE) {
+ while (true) {
while (chOQIsFullI(oqp)) {
if (qwait((GenericQueue *)oqp, time) != Q_OK) {
chSysUnlock();
diff --git a/os/kernel/src/chschd.c b/os/kernel/src/chschd.c
index b99afbbb9..4592f4806 100644
--- a/os/kernel/src/chschd.c
+++ b/os/kernel/src/chschd.c
@@ -267,9 +267,9 @@ void chSchRescheduleS(void) {
* @note Not a user function, it is meant to be invoked by the scheduler
* itself or from within the port layer.
*
- * @retval TRUE if there is a thread that must go in running state
+ * @retval true if there is a thread that must go in running state
* immediately.
- * @retval FALSE if preemption is not required.
+ * @retval false if preemption is not required.
*
* @special
*/
diff --git a/os/kernel/src/chsem.c b/os/kernel/src/chsem.c
index 8ddba8523..554c02246 100644
--- a/os/kernel/src/chsem.c
+++ b/os/kernel/src/chsem.c
@@ -96,7 +96,7 @@
*
* @init
*/
-void chSemInit(semaphore_t *sp, cnt_t n) {
+void chSemObjectInit(semaphore_t *sp, cnt_t n) {
chDbgCheck((sp != NULL) && (n >= 0), "chSemInit");
diff --git a/os/kernel/src/chsys.c b/os/kernel/src/chsys.c
index 578de3ccf..b3d99a7d9 100644
--- a/os/kernel/src/chsys.c
+++ b/os/kernel/src/chsys.c
@@ -73,7 +73,7 @@ static void _idle_thread(void *p) {
(void)p;
chRegSetThreadName("idle");
- while (TRUE) {
+ while (true) {
port_wait_for_interrupt();
IDLE_LOOP_HOOK();
}
diff --git a/os/kernel/src/chthreads.c b/os/kernel/src/chthreads.c
index bc161ba52..47f53e10d 100644
--- a/os/kernel/src/chthreads.c
+++ b/os/kernel/src/chthreads.c
@@ -280,7 +280,7 @@ thread_t *chThdResume(thread_t *tp) {
* @brief Requests a thread termination.
* @pre The target thread must be written to invoke periodically
* @p chThdShouldTerminate() and terminate cleanly if it returns
- * @p TRUE.
+ * @p true.
* @post The specified thread will terminate after detecting the termination
* condition.
*
@@ -400,7 +400,7 @@ void chThdExitS(msg_t msg) {
#endif
chSchGoSleepS(THD_STATE_FINAL);
/* The thread never returns here.*/
- chDbgAssert(FALSE, "chThdExitS(), #1", "zombies apocalypse");
+ chDbgAssert(false, "chThdExitS(), #1", "zombies apocalypse");
}
#if CH_USE_WAITEXIT || defined(__DOXYGEN__)
444' href='#n1444'>1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773