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 --- deadbeef.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'deadbeef.h') diff --git a/deadbeef.h b/deadbeef.h index cd3583be..34563a46 100644 --- a/deadbeef.h +++ b/deadbeef.h @@ -123,7 +123,8 @@ typedef struct { // process control void (*quit) (void); // threading - 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); int (*mutex_lock) (uintptr_t mtx); -- cgit v1.2.3