From b78d11d3282b118287901bd4f9a220880e27084b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 17 Nov 2013 16:42:57 +0100 Subject: stream: split out pthread helper function Also split the function itself into 3. --- osdep/threads.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 osdep/threads.h (limited to 'osdep/threads.h') diff --git a/osdep/threads.h b/osdep/threads.h new file mode 100644 index 0000000000..7c9f041320 --- /dev/null +++ b/osdep/threads.h @@ -0,0 +1,9 @@ +#ifndef MP_OSDEP_THREADS_H_ +#define MP_OSDEP_THREADS_H_ + +#include + +int mpthread_cond_timed_wait(pthread_cond_t *cond, pthread_mutex_t *mutex, + double timeout); + +#endif -- cgit v1.2.3