From cd10af4db6c30d25f88095eab2ce24df6a6c92df Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 23 Apr 2014 20:56:25 +0200 Subject: threads: fix function name Closer to the corresponding standard function pthread_cond_timedwait. --- misc/dispatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') 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); } -- cgit v1.2.3