diff options
Diffstat (limited to 'threading.h')
-rw-r--r-- | threading.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/threading.h b/threading.h index cb71b933..f899e73f 100644 --- a/threading.h +++ b/threading.h @@ -20,7 +20,11 @@ #include <stdint.h> -void thread_start (void (*fn)(uintptr_t ctx), uintptr_t ctx); +int +thread_start (void (*fn)(uintptr_t ctx), uintptr_t ctx); + +int +thread_join (int tid); uintptr_t mutex_create (void); void mutex_free (uintptr_t mtx); |