From c3f898dd52bc4eda6ae76b7e618fce86f35fad79 Mon Sep 17 00:00:00 2001 From: waker Date: Sun, 24 Oct 2010 09:37:43 +0200 Subject: added thread_detach and thread_exit APIs --- threading.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'threading.h') diff --git a/threading.h b/threading.h index dee1cc3c..6ceca641 100644 --- a/threading.h +++ b/threading.h @@ -29,6 +29,12 @@ thread_start_low_priority (void (*fn)(void *ctx), void *ctx); int thread_join (intptr_t tid); +int +thread_detach (intptr_t tid); + +void +thread_exit (void *retval); + uintptr_t mutex_create (void); -- cgit v1.2.3