Rev 1113 | Rev 1427 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1113 | Rev 1129 | ||
---|---|---|---|
Line 29... | Line 29... | ||
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 | #include <libarch/thread.h> |
- | 34 | #include <types.h> |
|
34 | 35 | ||
35 | extern void __thread_entry(void); |
36 | extern void __thread_entry(void); |
36 | extern void __thread_main(uspace_arg_t *uarg); |
37 | extern void __thread_main(uspace_arg_t *uarg); |
37 | 38 | ||
38 | extern int thread_create(void (* function)(void *arg), void *arg, char *name); |
39 | extern int thread_create(void (* function)(void *arg), void *arg, char *name); |
39 | extern void thread_exit(int status); |
40 | extern void thread_exit(int status); |
40 | void * __make_tls(void); |
41 | tcb_t * __make_tls(void); |
- | 42 | tcb_t * __alloc_tls(void **data, size_t size); |
|
41 | void __free_tls(void *); |
43 | void __free_tls(tcb_t *); |
- | 44 | void __free_tls_arch(tcb_t *, size_t size); |
|
42 | 45 | ||
43 | #endif |
46 | #endif |