Rev 1579 | Rev 1661 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1579 | Rev 1595 | ||
---|---|---|---|
Line 148... | Line 148... | ||
148 | extern btree_t threads_btree; /**< B+tree containing all threads. */ |
148 | extern btree_t threads_btree; /**< B+tree containing all threads. */ |
149 | 149 | ||
150 | extern void thread_init(void); |
150 | extern void thread_init(void); |
151 | extern thread_t *thread_create(void (* func)(void *), void *arg, task_t *task, int flags, char *name); |
151 | extern thread_t *thread_create(void (* func)(void *), void *arg, task_t *task, int flags, char *name); |
152 | extern void thread_ready(thread_t *t); |
152 | extern void thread_ready(thread_t *t); |
153 | extern void thread_exit(void); |
153 | extern void thread_exit(void) __attribute__((noreturn)); |
154 | 154 | ||
155 | #ifndef thread_create_arch |
155 | #ifndef thread_create_arch |
156 | extern void thread_create_arch(thread_t *t); |
156 | extern void thread_create_arch(thread_t *t); |
157 | #endif |
157 | #endif |
158 | 158 |