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/thread.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/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index bf4c8353c..b9dd9fac4 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -36,6 +36,11 @@ public: | |||
| 36 | inline bool IsWaiting() const { return (status & THREADSTATUS_WAIT) != 0; } | 36 | inline bool IsWaiting() const { return (status & THREADSTATUS_WAIT) != 0; } |
| 37 | inline bool IsSuspended() const { return (status & THREADSTATUS_SUSPEND) != 0; } | 37 | inline bool IsSuspended() const { return (status & THREADSTATUS_SUSPEND) != 0; } |
| 38 | 38 | ||
| 39 | /// Synchronize kernel object | ||
| 40 | Result SyncRequest() { | ||
| 41 | return 0; | ||
| 42 | } | ||
| 43 | |||
| 39 | ThreadContext context; | 44 | ThreadContext context; |
| 40 | 45 | ||
| 41 | u32 status; | 46 | u32 status; |