diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-08-15 14:10:01 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-08-15 14:10:01 +0000 |
commit | eccd5b4b5ec4eed2cfe50493bcdd138876c6e0c5 (patch) | |
tree | 0ff818fea599baaf52014fc9de25013fbe2ca664 /os/kernel/include | |
parent | cd0be9838e1bb9624854ba1128af7ee55cae63c5 (diff) | |
download | ChibiOS-eccd5b4b5ec4eed2cfe50493bcdd138876c6e0c5.tar.gz ChibiOS-eccd5b4b5ec4eed2cfe50493bcdd138876c6e0c5.tar.bz2 ChibiOS-eccd5b4b5ec4eed2cfe50493bcdd138876c6e0c5.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4573 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/include')
-rw-r--r-- | os/kernel/include/chthreads.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/os/kernel/include/chthreads.h b/os/kernel/include/chthreads.h index 421a3e23f..91b8b2fdf 100644 --- a/os/kernel/include/chthreads.h +++ b/os/kernel/include/chthreads.h @@ -270,11 +270,12 @@ typedef msg_t (*tfunc_t)(void *); /**
* @brief Verifies if the current thread has a termination request pending.
+ * @note This function can be called in any context.
*
- * @retval TRUE termination request pended.
- * @retval FALSE termination request not pended.
+ * @retval TRUE termination request pending.
+ * @retval FALSE termination request not pending.
*
- * @api
+ * @special
*/
#define chThdShouldTerminate() (currp->p_flags & THD_TERMINATE)
|