#include <libarch/thread.h>
#include <sys/types.h>
Go to the source code of this file.
Typedefs | |
typedef uint64_t | thread_id_t |
Functions | |
int | thread_create (void(*function)(void *), void *arg, const char *name, thread_id_t *tid) |
Create userspace thread. | |
void | thread_detach (thread_id_t thread) |
Detach thread. | |
void | thread_exit (int status) |
Terminate current thread. | |
thread_id_t | thread_get_id (void) |
Get current thread ID. | |
int | thread_join (thread_id_t thread) |
Join thread. |
Definition in file thread.h.