Merge pull request #874 from marcas756/PullReq-MT_STATES
Enhancement : Moved thread states from module to header
This commit is contained in:
commit
ce49276e80
2 changed files with 3 additions and 4 deletions
|
@ -46,10 +46,6 @@
|
|||
#include "sys/mt.h"
|
||||
#include "sys/cc.h"
|
||||
|
||||
#define MT_STATE_READY 1
|
||||
#define MT_STATE_RUNNING 2
|
||||
#define MT_STATE_EXITED 5
|
||||
|
||||
static struct mt_thread *current;
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
|
|
@ -84,6 +84,9 @@
|
|||
|
||||
#include "contiki.h"
|
||||
|
||||
#define MT_STATE_READY 1
|
||||
#define MT_STATE_RUNNING 2
|
||||
#define MT_STATE_EXITED 5
|
||||
|
||||
/**
|
||||
* An opaque structure that is used for holding the state of a thread.
|
||||
|
|
Loading…
Reference in a new issue