mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
scePthreadMutexattrSetprotocol threw for SCE_PTHREAD_PRIO_INHERIT, so a title creating its mutexes with priority inheritance stopped at the first one. Guest thread priorities are recorded (scePthreadSetprio/Getprio) but never applied to host scheduling, so there is no priority for a waiter to lend to the owner: an inheriting mutex locks, unlocks and reports errors exactly like a PRIO_NONE one here, and the protocol is accepted. The POSIX pthread_mutexattr_setprotocol wrapper already accepts it. Priority protection (PRIO_PROTECT, with its ceilings) and unknown protocols still throw.