1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

core/thread: fix Doxygen nesting

Everything below the thread states was cut off in the module
documentation because Doxygen does not handle nested @name tags.
This commit is contained in:
Joakim Nohlgård 2017-08-11 07:42:38 +02:00
parent 2093f21784
commit 87d322556a

View File

@ -134,14 +134,16 @@
extern "C" {
#endif
/* Thread states */
/**
* @name List of thread states
* @name Special meaning thread states
* @{
*/
#define STATUS_NOT_FOUND (-1) /**< Describes an illegal thread status */
#define STATUS_NOT_FOUND (-1) /**< Describes an illegal thread status */
/** @} */
/**
* @name Blocked states
* @name Blocked thread states
* @{
*/
#define STATUS_STOPPED 0 /**< has terminated */
@ -156,14 +158,14 @@
/** @} */
/**
* @name Queued states
* @{*/
* @name Queued thread states
* @{
*/
#define STATUS_ON_RUNQUEUE STATUS_RUNNING /**< to check if on run queue:
`st >= STATUS_ON_RUNQUEUE` */
#define STATUS_RUNNING 9 /**< currently running */
#define STATUS_PENDING 10 /**< waiting to be scheduled to run */
/** @} */
/** @} */
/**
* @brief @c thread_t holds thread's context data.