mirror of
https://github.com/libretro/RetroArch
synced 2024-12-29 12:31:05 +00:00
[GX] implement pthread_cond_timedwait
This commit is contained in:
parent
0faa3fbbde
commit
89571e564f
@ -85,7 +85,7 @@ static inline int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex
|
|||||||
|
|
||||||
static inline int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime)
|
static inline int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime)
|
||||||
{
|
{
|
||||||
return LWP_CondWait(*cond, *mutex);
|
return LWP_CondTimedWait(*cond, *mutex, abstime);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr)
|
static inline int pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr)
|
||||||
|
Loading…
Reference in New Issue
Block a user