Rev 1079 | Rev 1129 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1079 | Rev 1113 | ||
|---|---|---|---|
| Line 28... | Line 28... | ||
| 28 | 28 | ||
| 29 | #ifndef __LIBC__THREAD_H__ |
29 | #ifndef __LIBC__THREAD_H__ |
| 30 | #define __LIBC__THREAD_H__ |
30 | #define __LIBC__THREAD_H__ |
| 31 | 31 | ||
| 32 | #include <kernel/proc/uarg.h> |
32 | #include <kernel/proc/uarg.h> |
| - | 33 | #include <libarch/thread.h> |
|
| 33 | 34 | ||
| 34 | extern void __thread_entry(void); |
35 | extern void __thread_entry(void); |
| 35 | extern void thread_main(uspace_arg_t *uarg); |
36 | extern void __thread_main(uspace_arg_t *uarg); |
| 36 | 37 | ||
| 37 | extern int thread_create(void (* function)(void *arg), void *arg, char *name); |
38 | extern int thread_create(void (* function)(void *arg), void *arg, char *name); |
| 38 | extern void thread_exit(int status); |
39 | extern void thread_exit(int status); |
| - | 40 | void * __make_tls(void); |
|
| - | 41 | void __free_tls(void *); |
|
| 39 | 42 | ||
| 40 | #endif |
43 | #endif |