mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 16:43:05 -05:00
- scePthreadSelf returned null on Linux and for threads not created by scePthreadCreate (including the main thread); such threads now get a lazily adopted, non-joinable handle - scePthreadExit on Linux skipped FinishThread, losing the join value - detached threads on Linux were never freed; use the reference count already used on Windows - unlocking a recursive mutex from a non-owner was undefined behaviour; return SCE_KERNEL_ERROR_EPERM - scePthreadCondTimedwait did not restore the mutex owner after waking, so another thread locking during the wait made the waiter's unlock fail with EPERM and left the mutex locked forever - SCE_KERNEL_ERROR_ETIMEDOUT in Cond.cpp was 0x80020062 instead of 0x8002003C Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>