AnyPS5/core/libs/prx/libkernel/Pthread/include
Pacuka 98f050f879 fix(libkernel): default mutexes to error checking and add the adaptive type
The PS5 libthr (FreeBSD) creates error-checking mutexes by default and has
PTHREAD_MUTEX_ADAPTIVE_NP (type 4); relocking an error-checking or adaptive
mutex returns EDEADLK. Default mutexes were Normal and type 4 was mapped to
Normal, so a relock threw instead of returning EDEADLK, which aborted an
Unreal Engine title's recursive directory scan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 14:28:33 +02:00
..
Cond.hpp feat(libkernel): impl pthread condition variables + posix thread attribute queries 2026-09-27 11:43:37 +03:00
Mutex.hpp feat(libkernel): implement posix mutex locking and timed waits 2026-09-27 11:43:37 +03:00
Pthread.hpp fix(libkernel): default mutexes to error checking and add the adaptive type 2026-10-04 14:28:33 +02:00
Rwlock.hpp feat(libkernel): impl file, time, process, signal for posix 2026-09-27 11:43:38 +03:00
ThreadLifecycle.hpp feat(libkernel): implement application heap and thread atexit registration 2026-09-27 11:43:33 +03:00