diff options
| author | 2014-05-26 21:01:27 -0400 | |
|---|---|---|
| committer | 2014-05-26 21:01:27 -0400 | |
| commit | d73d782ba7ea6f3f2dd9c4f70d34c1004397dacb (patch) | |
| tree | 6eb4c55468938b7d2a95f029c15dd9f6be913748 /src/core/hle/kernel/mutex.cpp | |
| parent | svc: added stub for DuplicateHandle SVC call (diff) | |
| download | yuzu-d73d782ba7ea6f3f2dd9c4f70d34c1004397dacb.tar.gz yuzu-d73d782ba7ea6f3f2dd9c4f70d34c1004397dacb.tar.xz yuzu-d73d782ba7ea6f3f2dd9c4f70d34c1004397dacb.zip | |
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: | |||
| 23 | bool locked; ///< Current locked state | 23 | bool locked; ///< Current locked state |
| 24 | Handle lock_thread; ///< Handle to thread that currently has mutex | 24 | Handle lock_thread; ///< Handle to thread that currently has mutex |
| 25 | std::vector<Handle> waiting_threads; ///< Threads that are waiting for the mutex | 25 | std::vector<Handle> waiting_threads; ///< Threads that are waiting for the mutex |
| 26 | |||
| 27 | /// Synchronize kernel object | ||
| 28 | Result SyncRequest() { | ||
| 29 | return 0; | ||
| 30 | } | ||
| 26 | }; | 31 | }; |
| 27 | 32 | ||
| 28 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 33 | //////////////////////////////////////////////////////////////////////////////////////////////////// |