diff options
author | wm4 <wm4@nowhere> | 2014-04-23 20:56:25 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-23 21:16:52 +0200 |
commit | cd10af4db6c30d25f88095eab2ce24df6a6c92df (patch) | |
tree | a244ad5e3d3a462fa81d305f0a8d0c4f6b482c89 /misc/dispatch.c | |
parent | 80ff94131b477ad9156f1c68da7b8588544fee33 (diff) | |
download | mpv-cd10af4db6c30d25f88095eab2ce24df6a6c92df.tar.bz2 mpv-cd10af4db6c30d25f88095eab2ce24df6a6c92df.tar.xz |
threads: fix function name
Closer to the corresponding standard function pthread_cond_timedwait.
Diffstat (limited to 'misc/dispatch.c')
-rw-r--r-- | misc/dispatch.c | 2 |
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); } |