Rev 2092 | Rev 2096 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2092 | Rev 2093 | ||
---|---|---|---|
Line 244... | Line 244... | ||
244 | thread_arch_t arch; /**< Architecture-specific data. */ |
244 | thread_arch_t arch; /**< Architecture-specific data. */ |
245 | 245 | ||
246 | uint8_t *kstack; /**< Thread's kernel stack. */ |
246 | uint8_t *kstack; /**< Thread's kernel stack. */ |
247 | } thread_t; |
247 | } thread_t; |
248 | 248 | ||
249 | extern spinlock_t tasks_lock; |
249 | SPINLOCK_EXTERN(tasks_lock); |
250 | extern btree_t tasks_btree; |
250 | extern btree_t tasks_btree; |
251 | 251 | ||
252 | extern void task_init(void); |
252 | extern void task_init(void); |
253 | extern task_t *task_create(as_t *as, char *name); |
253 | extern task_t *task_create(as_t *as, char *name); |
254 | extern void task_destroy(task_t *t); |
254 | extern void task_destroy(task_t *t); |