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:
parent
f44d9f88f0
commit
6b0156eac5
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user