diff options
author | 2009-08-26 15:21:39 +0200 | |
---|---|---|
committer | 2009-08-26 15:21:39 +0200 | |
commit | 3f8e973b1272bde41b5387ef4b83789d54a56557 (patch) | |
tree | dd89e900f320139d49fb239b0f64e45416e693ed /deadbeef.h | |
parent | 66e87af1c9920b828ae959d69bd1f0b2517a1b2d (diff) |
added threading functions to plugin api
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -102,6 +102,12 @@ typedef struct { void (*playback_stop) (void); void (*playback_play) (void); void (*quit) (void); + // threading + void (*thread_start) (void (*fn)(uintptr_t ctx), uintptr_t ctx); + uintptr_t (*mutex_create) (void); + void (*mutex_free) (uintptr_t mtx); + int (*mutex_lock) (uintptr_t mtx); + int (*mutex_unlock) (uintptr_t mtx); } DB_functions_t; // base plugin interface |