summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-06-05 23:13:28 -0400
committerGravatar bunnei2014-06-13 09:51:08 -0400
commitaae9fcf4a4071a408af10ca1c72180cdc04687b8 (patch)
tree9d5bd2a270b9531a06adb59e3134c7224dd22c22 /src/core/hle/kernel/thread.cpp
parentKernel: Added real support for thread and event blocking (diff)
downloadyuzu-aae9fcf4a4071a408af10ca1c72180cdc04687b8.tar.gz
yuzu-aae9fcf4a4071a408af10ca1c72180cdc04687b8.tar.xz
yuzu-aae9fcf4a4071a408af10ca1c72180cdc04687b8.zip
Kernel: Made SyncRequest not pure virtual, with a default implementation of error (as this is not required for all kernel objects)
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r--src/core/hle/kernel/thread.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index d372df709..180c14928 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -38,16 +38,6 @@ public:
38 inline bool IsSuspended() const { return (status & THREADSTATUS_SUSPEND) != 0; } 38 inline bool IsSuspended() const { return (status & THREADSTATUS_SUSPEND) != 0; }
39 39
40 /** 40 /**
41 * Synchronize kernel object
42 * @param wait Boolean wait set if current thread should wait as a result of sync operation
43 * @return Result of operation, 0 on success, otherwise error code
44 */
45 Result SyncRequest(bool* wait) {
46 // TODO(bunnei): ImplementMe
47 return 0;
48 }
49
50 /**
51 * Wait for kernel object to synchronize 41 * Wait for kernel object to synchronize
52 * @param wait Boolean wait set if current thread should wait as a result of sync operation 42 * @param wait Boolean wait set if current thread should wait as a result of sync operation
53 * @return Result of operation, 0 on success, otherwise error code 43 * @return Result of operation, 0 on success, otherwise error code