Changeset 201abde in mainline for uspace/libc/include/thread.h
- Timestamp:
- 2007-04-07T20:06:52Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7e58979
- Parents:
- 6adbe3c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/libc/include/thread.h
r6adbe3c2 r201abde 40 40 #include <types.h> 41 41 42 typedef uint64_t thread_id_t; 43 42 44 extern void __thread_entry(void); 43 45 extern void __thread_main(uspace_arg_t *uarg); 44 46 45 extern int thread_create(void (* function)(void * arg), void *arg, char *name);47 extern int thread_create(void (* function)(void *), void *arg, char *name, thread_id_t *tid); 46 48 extern void thread_exit(int status); 47 extern void thread_detach( int thread);48 extern int thread_join( int thread);49 extern int thread_get_id(void);49 extern void thread_detach(thread_id_t thread); 50 extern int thread_join(thread_id_t thread); 51 extern thread_id_t thread_get_id(void); 50 52 extern tcb_t * __make_tls(void); 51 53 extern tcb_t * __alloc_tls(void **data, size_t size);
Note:
See TracChangeset
for help on using the changeset viewer.