1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

core/include/sched.h: new thread_status_t thread state

This commit is contained in:
JulianHolzwarth 2019-10-11 17:48:39 +02:00
parent f44d9f88f0
commit 6b0156eac5

View File

@ -102,6 +102,7 @@ typedef struct _thread thread_t;
*/
typedef enum {
STATUS_STOPPED, /**< has terminated */
STATUS_ZOMBIE, /**< has terminated & keeps thread's thread_t */
STATUS_SLEEPING, /**< sleeping */
STATUS_MUTEX_BLOCKED, /**< waiting for a locked mutex */
STATUS_RECEIVE_BLOCKED, /**< waiting for a message */