aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/semaphore.h
diff options
context:
space:
mode:
authorSebastian Valle <subv2112@gmail.com>2017-01-05 12:55:01 -0500
committerGitHub <noreply@github.com>2017-01-05 12:55:01 -0500
commitf20d872643654c574f73a263f032613046900f07 (patch)
tree021284c18034d053c81928fa19d2efb6658451fb /src/core/hle/kernel/semaphore.h
parent4650486b8ea8e3725e966a9f851a5e35e2764875 (diff)
parentdda4ec93bea089e3286e9a965378d9411f480acd (diff)
Merge pull request #2393 from Subv/synch
Kernel: Mutex priority inheritance and synchronization improvements.
Diffstat (limited to 'src/core/hle/kernel/semaphore.h')
-rw-r--r--src/core/hle/kernel/semaphore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/semaphore.h b/src/core/hle/kernel/semaphore.h
index e01908a25..cde94f7cc 100644
--- a/src/core/hle/kernel/semaphore.h
+++ b/src/core/hle/kernel/semaphore.h
@@ -39,8 +39,8 @@ public:
s32 available_count; ///< Number of free slots left in the semaphore
std::string name; ///< Name of semaphore (optional)
- bool ShouldWait() override;
- void Acquire() override;
+ bool ShouldWait(Thread* thread) const override;
+ void Acquire(Thread* thread) override;
/**
* Releases a certain number of slots from a semaphore.