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 /osdep/threads.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 'osdep/threads.c')
-rw-r--r-- | osdep/threads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/threads.c b/osdep/threads.c index 6b19f83f1d..84a65feddd 100644 --- a/osdep/threads.c +++ b/osdep/threads.c @@ -62,8 +62,8 @@ struct timespec mpthread_get_deadline(double timeout) } // Call pthread_cond_timedwait() with a relative timeout in seconds -int mpthread_cond_timed_wait(pthread_cond_t *cond, pthread_mutex_t *mutex, - double timeout) +int mpthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, + double timeout) { struct timespec ts = mpthread_get_deadline(timeout); return pthread_cond_timedwait(cond, mutex, &ts); |