From 4c41a6c6c9accea5854755bbb0f1a3476d31f8b2 Mon Sep 17 00:00:00 2001 From: waker Date: Fri, 28 Aug 2009 21:49:53 +0200 Subject: added pthread_join support --- threading.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'threading.h') diff --git a/threading.h b/threading.h index cb71b933..f899e73f 100644 --- a/threading.h +++ b/threading.h @@ -20,7 +20,11 @@ #include -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); -- cgit v1.2.3