diff options
| author | 2015-01-17 22:23:49 -0500 | |
|---|---|---|
| committer | 2015-01-21 19:10:24 -0500 | |
| commit | aa01c57ae9d73e41b65d37860ca6fbb91caba33a (patch) | |
| tree | 904936860b1e8319ec5edc3a1e0e6c2c12f01d9f /src/core/hle/kernel/thread.h | |
| parent | WaitSynchronizationN: Handle case where handles=nullptr. (diff) | |
| download | yuzu-aa01c57ae9d73e41b65d37860ca6fbb91caba33a.tar.gz yuzu-aa01c57ae9d73e41b65d37860ca6fbb91caba33a.tar.xz yuzu-aa01c57ae9d73e41b65d37860ca6fbb91caba33a.zip | |
Kernel: Separate WaitSynchronization into Wait and Acquire methods.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index f3dc4eec0..9faf89c15 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -70,7 +70,8 @@ public: | |||
| 70 | inline bool IsSuspended() const { return (status & THREADSTATUS_SUSPEND) != 0; } | 70 | inline bool IsSuspended() const { return (status & THREADSTATUS_SUSPEND) != 0; } |
| 71 | inline bool IsIdle() const { return idle; } | 71 | inline bool IsIdle() const { return idle; } |
| 72 | 72 | ||
| 73 | ResultVal<bool> WaitSynchronization(unsigned index) override; | 73 | ResultVal<bool> Wait(unsigned index) override; |
| 74 | ResultVal<bool> Acquire() override; | ||
| 74 | 75 | ||
| 75 | s32 GetPriority() const { return current_priority; } | 76 | s32 GetPriority() const { return current_priority; } |
| 76 | void SetPriority(s32 priority); | 77 | void SetPriority(s32 priority); |