diff options
| author | bunnei <ericbunnie@gmail.com> | 2014-05-26 21:01:27 -0400 |
|---|---|---|
| committer | bunnei <ericbunnie@gmail.com> | 2014-05-26 21:01:27 -0400 |
| commit | d73d782ba7ea6f3f2dd9c4f70d34c1004397dacb (patch) | |
| tree | 6eb4c55468938b7d2a95f029c15dd9f6be913748 /src/core/hle/kernel/mutex.cpp | |
| parent | 15d2ab1b33e8ef579d15bb6f20e6c625a58fb166 (diff) | |
kernel: add a SyncRequest method to KernelObject for use with svcSendSyncRequest
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
| -rw-r--r-- | src/core/hle/kernel/mutex.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp index 019efbc78..fa924404d 100644 --- a/src/core/hle/kernel/mutex.cpp +++ b/src/core/hle/kernel/mutex.cpp @@ -23,6 +23,11 @@ public: bool locked; ///< Current locked state Handle lock_thread; ///< Handle to thread that currently has mutex std::vector<Handle> waiting_threads; ///< Threads that are waiting for the mutex + + /// Synchronize kernel object + Result SyncRequest() { + return 0; + } }; //////////////////////////////////////////////////////////////////////////////////////////////////// |
