summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-28 21:49:53 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-28 21:49:53 +0200
commit4c41a6c6c9accea5854755bbb0f1a3476d31f8b2 (patch)
tree90438179ed3d0a7003f6756f01aafad8d22accac /deadbeef.h
parent85e4f2aeaacb721aeabbcf1154b135985dc4b3b1 (diff)
added pthread_join support
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h3
1 files changed, 2 insertions, 1 deletions
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);