summaryrefslogtreecommitdiff
path: root/src/core/hle/lock.cpp
AgeCommit message (Collapse)Author
2021-12-17core: hle: Remove global HLE lock.bunnei
- This was added early on as a hack to protect against some concurrency issues. - It's not clear that this serves any purpose anymore, and if it does, individual components should be fixed rather than using a global recursive mutex.
2018-01-13Fix build on macOS and linuxMerryMage
2017-08-29Use recursive_mutex instead of mutex to fix #2902danzel
2017-08-22Kernel/HLE: Use a mutex to synchronize access to the HLE kernel state ↵Subv
between the cpu thread and any other possible threads that might touch the kernel (network thread, etc). This mutex is acquired in SVC::CallSVC, ie, as soon as the guest application enters the HLE kernel, and should be acquired by the aforementioned threads before modifying kernel structures.