mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-15 09:38:46 -05:00
Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter.
This will be useful when implementing mutex priority inheritance.
This commit is contained in:
@ -38,8 +38,9 @@ public:
|
||||
std::string name; ///< Name of mutex (optional)
|
||||
SharedPtr<Thread> holding_thread; ///< Thread that has acquired the mutex
|
||||
|
||||
bool ShouldWait() override;
|
||||
void Acquire() override;
|
||||
bool ShouldWait(Thread* thread) const override;
|
||||
void Acquire(Thread* thread) override;
|
||||
|
||||
|
||||
/**
|
||||
* Acquires the specified mutex for the specified thread
|
||||
|
Reference in New Issue
Block a user