diff options
| author | 2014-05-26 22:12:46 -0400 | |
|---|---|---|
| committer | 2014-05-26 22:12:46 -0400 | |
| commit | 58a3adcdd2eed9d31cd441186af872a0a8924e73 (patch) | |
| tree | 65dc8f4a1c26151ce027558ecdf886cb0beeb67b /src/core/hle/kernel/thread.cpp | |
| parent | svc: added some assertions (diff) | |
| download | yuzu-58a3adcdd2eed9d31cd441186af872a0a8924e73.tar.gz yuzu-58a3adcdd2eed9d31cd441186af872a0a8924e73.tar.xz yuzu-58a3adcdd2eed9d31cd441186af872a0a8924e73.zip | |
kernel: updated SyncRequest to take boolean thread wait result as a parameter
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index b9dd9fac4..56c7755cf 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -36,8 +36,12 @@ 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 | 39 | /** |
| 40 | Result SyncRequest() { | 40 | * Synchronize kernel object |
| 41 | * @param wait Boolean wait set if current thread should wait as a result of sync operation | ||
| 42 | * @return Result of operation, 0 on success, otherwise error code | ||
| 43 | */ | ||
| 44 | Result SyncRequest(bool* wait) { | ||
| 41 | return 0; | 45 | return 0; |
| 42 | } | 46 | } |
| 43 | 47 | ||