Changes in uspace/lib/c/include/thread.h [8d2dd7f2:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/thread.h
r8d2dd7f2 rb7fd2a0 36 36 #define LIBC_THREAD_H_ 37 37 38 #include <errno.h> 38 39 #include <libarch/thread.h> 39 40 #include <stdint.h> … … 41 42 #include <time.h> 42 43 43 extern int thread_create(void (*)(void *), void *, const char *, thread_id_t *);44 extern errno_t thread_create(void (*)(void *), void *, const char *, thread_id_t *); 44 45 extern void thread_exit(int) __attribute__((noreturn)); 45 46 extern void thread_detach(thread_id_t); 46 extern int thread_join(thread_id_t);47 extern errno_t thread_join(thread_id_t); 47 48 extern thread_id_t thread_get_id(void); 48 49 extern int thread_usleep(useconds_t);
Note:
See TracChangeset
for help on using the changeset viewer.