mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
winpthreads initializes a statically initialized rwlock on its first lock and fails a concurrent first lock with EINVAL, which std::shared_mutex ignores, so two threads can hold the lock at once. The source, binding plan and specialized module caches take their first locks from several threads, so their mutexes now take and release the lock in their constructor, as guest rwlocks do. The GuestWriteWatch mutex the technical debt entry also named is in the Linux-only watch, so it is not affected.