Subversion Repositories HelenOS

Rev

Rev 2283 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2283 Rev 2292
Line 51... Line 51...
51
 
51
 
52
extern char *thread_states[];
52
extern char *thread_states[];
53
 
53
 
54
/* Thread flags */
54
/* Thread flags */
55
 
55
 
56
/** Thread cannot be migrated to another CPU.
56
/** Thread cannot be migrated to another CPU. */
57
* When using this flag, the caller must set cpu in the thread_t
-
 
58
* structure manually before calling thread_ready (even on uniprocessor)
-
 
59
*/
-
 
60
#define THREAD_FLAG_WIRED   (1 << 0)
57
#define THREAD_FLAG_WIRED   (1 << 0)
61
/** Thread was migrated to another CPU and has not run yet. */
58
/** Thread was migrated to another CPU and has not run yet. */
62
#define THREAD_FLAG_STOLEN  (1 << 1)
59
#define THREAD_FLAG_STOLEN  (1 << 1)
63
/** Thread executes in userspace. */
60
/** Thread executes in userspace. */
64
#define THREAD_FLAG_USPACE  (1 << 2)
61
#define THREAD_FLAG_USPACE  (1 << 2)