commented sem_timedwait for linux untill @squidbus fix it

This commit is contained in:
georgemoralis 2024-07-26 08:16:32 +03:00
parent 64d305faeb
commit a4912b8245
1 changed files with 5 additions and 0 deletions

View File

@ -1337,7 +1337,12 @@ int PS4_SYSV_ABI posix_sem_wait(sem_t* sem) {
} }
int PS4_SYSV_ABI posix_sem_timedwait(sem_t* sem, const timespec* t) { int PS4_SYSV_ABI posix_sem_timedwait(sem_t* sem, const timespec* t) {
#ifndef __APPLE__
return sem_timedwait(sem, t); return sem_timedwait(sem, t);
#else
LOG_ERROR(Kernel_Pthread, "Apple doesn't support sem_timedwait yet");
return 0; // unsupported for apple yet
#endif
} }
int PS4_SYSV_ABI posix_sem_post(sem_t* sem) { int PS4_SYSV_ABI posix_sem_post(sem_t* sem) {