1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 16:33:02 +00:00
mpv/osdep/threads.h
wm4 cd10af4db6 threads: fix function name
Closer to the corresponding standard function pthread_cond_timedwait.
2014-04-23 21:16:52 +02:00

14 lines
322 B
C

#ifndef MP_OSDEP_THREADS_H_
#define MP_OSDEP_THREADS_H_
#include <pthread.h>
struct timespec mpthread_get_deadline(double timeout);
int mpthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex,
double timeout);
int mpthread_mutex_init_recursive(pthread_mutex_t *mutex);
#endif