summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2010-10-24 09:37:43 +0200
committerGravatar waker <wakeroid@gmail.com>2010-10-24 09:37:43 +0200
commitc3f898dd52bc4eda6ae76b7e618fce86f35fad79 (patch)
treef13b4f4d5a9448453b5ed6ccc4fa0b02bb7e5d4b /deadbeef.h
parent36d81fe36ea5b505ebe2536809728497f960b815 (diff)
added thread_detach and thread_exit APIs
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 337219ed..8ea30059 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -324,6 +324,8 @@ typedef struct {
intptr_t (*thread_start) (void (*fn)(void *ctx), void *ctx);
intptr_t (*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);
uintptr_t (*mutex_create_nonrecursive) (void);
void (*mutex_free) (uintptr_t mtx);