Rev 430 | Rev 501 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 430 | Rev 452 | ||
---|---|---|---|
Line 110... | Line 110... | ||
110 | }; |
110 | }; |
111 | 111 | ||
112 | extern spinlock_t threads_lock; /**< Lock protecting threads_head list. */ |
112 | extern spinlock_t threads_lock; /**< Lock protecting threads_head list. */ |
113 | extern link_t threads_head; /**< List of all threads in the system. */ |
113 | extern link_t threads_head; /**< List of all threads in the system. */ |
114 | 114 | ||
115 | static void cushion(void); |
- | |
116 | - | ||
117 | extern void thread_init(void); |
115 | extern void thread_init(void); |
118 | extern thread_t *thread_create(void (* func)(void *), void *arg, task_t *task, int flags); |
116 | extern thread_t *thread_create(void (* func)(void *), void *arg, task_t *task, int flags); |
119 | extern void thread_ready(thread_t *t); |
117 | extern void thread_ready(thread_t *t); |
120 | extern void thread_exit(void); |
118 | extern void thread_exit(void); |
121 | 119 |