Subversion Repositories HelenOS

Rev

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

Rev 2216 Rev 2268
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
 *
-
 
58
 * When using this flag, the caller must set cpu in the thread_t
-
 
59
 * structure manually before calling thread_ready (even on uniprocessor).
-
 
60
 */
57
#define THREAD_FLAG_WIRED   (1 << 0)
61
#define THREAD_FLAG_WIRED   (1 << 0)
58
/** Thread was migrated to another CPU and has not run yet. */
62
/** Thread was migrated to another CPU and has not run yet. */
59
#define THREAD_FLAG_STOLEN  (1 << 1)
63
#define THREAD_FLAG_STOLEN  (1 << 1)
60
/** Thread executes in userspace. */
64
/** Thread executes in userspace. */
61
#define THREAD_FLAG_USPACE  (1 << 2)
65
#define THREAD_FLAG_USPACE  (1 << 2)