mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-10 00:32:33 -07:00
Core/Common: Address Feedback.
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
|
||||
namespace Common {
|
||||
|
||||
/**
|
||||
* SpinLock class
|
||||
* a lock similar to mutex that forces a thread to spin wait instead calling the
|
||||
* supervisor. Should be used on short sequences of code.
|
||||
*/
|
||||
class SpinLock {
|
||||
public:
|
||||
void lock();
|
||||
|
Reference in New Issue
Block a user