Kernel.Pthreads: Remove unreachable in posix_pthread_mutex_timedlock (#4005)

* Fix assert

Just a typical day of me pushing something a month ago, nobody testing/reviewing it, then finding out it's broken when that code inevitably makes it into production.

* Remove unreachable in posix_pthread_mutex_timedlock

It's apparently something that was added during pthreads rewrite, but the actual code for this function seems to be fully implemented?
This commit is contained in:
Stephen Miller 2026-02-08 01:33:20 -06:00 committed by GitHub
parent 341de9aa17
commit be86b5fe32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -261,7 +261,6 @@ int PS4_SYSV_ABI posix_pthread_mutex_lock(PthreadMutexT* mutex) {
int PS4_SYSV_ABI posix_pthread_mutex_timedlock(PthreadMutexT* mutex,
const OrbisKernelTimespec* abstime) {
CHECK_AND_INIT_MUTEX
UNREACHABLE();
return (*mutex)->Lock(abstime);
}