Subversion Repositories HelenOS

Rev

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

Rev 2131 Rev 2283
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
*/
57
#define THREAD_FLAG_WIRED   (1 << 0)
60
#define THREAD_FLAG_WIRED   (1 << 0)
58
/** Thread was migrated to another CPU and has not run yet. */
61
/** Thread was migrated to another CPU and has not run yet. */
59
#define THREAD_FLAG_STOLEN  (1 << 1)
62
#define THREAD_FLAG_STOLEN  (1 << 1)
60
/** Thread executes in userspace. */
63
/** Thread executes in userspace. */
61
#define THREAD_FLAG_USPACE  (1 << 2)
64
#define THREAD_FLAG_USPACE  (1 << 2)