Rev 2541 | Rev 2586 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2541 | Rev 2581 | ||
---|---|---|---|
Line 39... | Line 39... | ||
39 | #include <libarch/thread.h> |
39 | #include <libarch/thread.h> |
40 | #include <sys/types.h> |
40 | #include <sys/types.h> |
41 | 41 | ||
42 | typedef uint64_t thread_id_t; |
42 | typedef uint64_t thread_id_t; |
43 | 43 | ||
- | 44 | extern char _tls_alignment; |
|
- | 45 | ||
44 | extern void __thread_entry(void); |
46 | extern void __thread_entry(void); |
45 | extern void __thread_main(uspace_arg_t *uarg); |
47 | extern void __thread_main(uspace_arg_t *uarg); |
46 | 48 | ||
47 | extern int thread_create(void (* function)(void *), void *arg, char *name, thread_id_t *tid); |
49 | extern int thread_create(void (* function)(void *), void *arg, char *name, thread_id_t *tid); |
48 | extern void thread_exit(int status); |
50 | extern void thread_exit(int status); |