mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-16 11:48:03 -05: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