diff options
| author | 2021-01-11 14:36:26 -0800 | |
|---|---|---|
| committer | 2021-01-11 14:36:26 -0800 | |
| commit | eb3cb54aa53e23af61afb9b7e35af28c9d37ae2a (patch) | |
| tree | 56a80760bd0ba8ecd85dc8d9f09fb9e2068c91d4 /src/core/hle/kernel/object.h | |
| parent | Merge pull request #5229 from Morph1984/fullscreen-opt (diff) | |
| parent | hle: kernel: thread: Preserve thread wait reason for debugging only. (diff) | |
| download | yuzu-eb3cb54aa53e23af61afb9b7e35af28c9d37ae2a.tar.gz yuzu-eb3cb54aa53e23af61afb9b7e35af28c9d37ae2a.tar.xz yuzu-eb3cb54aa53e23af61afb9b7e35af28c9d37ae2a.zip | |
Merge pull request #5266 from bunnei/kernel-synch
Rewrite KSynchronizationObject, KConditonVariable, and KAddressArbiter
Diffstat (limited to 'src/core/hle/kernel/object.h')
| -rw-r--r-- | src/core/hle/kernel/object.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/kernel/object.h b/src/core/hle/kernel/object.h index e3391e2af..27124ef67 100644 --- a/src/core/hle/kernel/object.h +++ b/src/core/hle/kernel/object.h | |||
| @@ -50,6 +50,11 @@ public: | |||
| 50 | } | 50 | } |
| 51 | virtual HandleType GetHandleType() const = 0; | 51 | virtual HandleType GetHandleType() const = 0; |
| 52 | 52 | ||
| 53 | void Close() { | ||
| 54 | // TODO(bunnei): This is a placeholder to decrement the reference count, which we will use | ||
| 55 | // when we implement KAutoObject instead of using shared_ptr. | ||
| 56 | } | ||
| 57 | |||
| 53 | /** | 58 | /** |
| 54 | * Check if a thread can wait on the object | 59 | * Check if a thread can wait on the object |
| 55 | * @return True if a thread can wait on the object, otherwise false | 60 | * @return True if a thread can wait on the object, otherwise false |