Rev 52 | Rev 227 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 52 | Rev 111 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | spinlock_t lock; |
41 | spinlock_t lock; |
42 | link_t rq_head; |
42 | link_t rq_head; |
43 | int n; |
43 | int n; |
44 | }; |
44 | }; |
45 | 45 | ||
46 | extern spinlock_t nrdylock; |
- | |
47 | extern volatile int nrdy; |
46 | extern volatile int nrdy; |
48 | 47 | ||
49 | static thread_t *find_best_thread(void); |
48 | static thread_t *find_best_thread(void); |
50 | static void relink_rq(int start); |
49 | static void relink_rq(int start); |
51 | static void scheduler_separated_stack(void); |
50 | static void scheduler_separated_stack(void); |