summaryrefslogtreecommitdiffstats
path: root/osdep/threads.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-31 19:50:25 +0100
committerwm4 <wm4@nowhere>2014-01-31 19:50:25 +0100
commita17be5576fae918c683688a0e2bd2fd21b32d428 (patch)
treec46ceb404511ce0fbceadae24e85420bb7667321 /osdep/threads.h
parent2305ffcaba2b762825cc18cb35cec06c203e3821 (diff)
downloadmpv-a17be5576fae918c683688a0e2bd2fd21b32d428.tar.bz2
mpv-a17be5576fae918c683688a0e2bd2fd21b32d428.tar.xz
threads: add wrapper for initializing recursive mutexes
Damn this overly verbose pthread API.
Diffstat (limited to 'osdep/threads.h')
-rw-r--r--osdep/threads.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/osdep/threads.h b/osdep/threads.h
index 7c9f041320..662f718f8c 100644
--- a/osdep/threads.h
+++ b/osdep/threads.h
@@ -6,4 +6,6 @@
int mpthread_cond_timed_wait(pthread_cond_t *cond, pthread_mutex_t *mutex,
double timeout);
+int mpthread_mutex_init_recursive(pthread_mutex_t *mutex);
+
#endif