summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-23 20:56:25 +0200
committerwm4 <wm4@nowhere>2014-04-23 21:16:52 +0200
commitcd10af4db6c30d25f88095eab2ce24df6a6c92df (patch)
treea244ad5e3d3a462fa81d305f0a8d0c4f6b482c89 /misc
parent80ff94131b477ad9156f1c68da7b8588544fee33 (diff)
downloadmpv-cd10af4db6c30d25f88095eab2ce24df6a6c92df.tar.bz2
mpv-cd10af4db6c30d25f88095eab2ce24df6a6c92df.tar.xz
threads: fix function name
Closer to the corresponding standard function pthread_cond_timedwait.
Diffstat (limited to 'misc')
-rw-r--r--misc/dispatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/dispatch.c b/misc/dispatch.c
index 4a5972aff2..a28360d16c 100644
--- a/misc/dispatch.c
+++ b/misc/dispatch.c
@@ -198,7 +198,7 @@ void mp_dispatch_queue_process(struct mp_dispatch_queue *queue, double timeout)
}
} else {
if (timeout > 0) {
- mpthread_cond_timed_wait(&queue->cond, &queue->lock, timeout);
+ mpthread_cond_timedwait(&queue->cond, &queue->lock, timeout);
} else {
pthread_cond_wait(&queue->cond, &queue->lock);
}