diff options
| author | 2014-12-21 10:04:08 -0200 | |
|---|---|---|
| committer | 2014-12-28 11:52:55 -0200 | |
| commit | 7e2903cb74050d846f2da951dff7e84aee13761b (patch) | |
| tree | 621c9245d2dd393a9569b1b4192f50a27d831972 /src/core/hle/kernel/thread.h | |
| parent | Kernel: Replace GetStaticHandleType by HANDLE_TYPE constants (diff) | |
| download | yuzu-7e2903cb74050d846f2da951dff7e84aee13761b.tar.gz yuzu-7e2903cb74050d846f2da951dff7e84aee13761b.tar.xz yuzu-7e2903cb74050d846f2da951dff7e84aee13761b.zip | |
Kernel: New handle manager
This handle manager more closely mirrors the behaviour of the CTR-OS
one. In addition object ref-counts and support for DuplicateHandle have
been added.
Note that support for DuplicateHandle is still experimental, since parts
of the kernel still use Handles internally, which will likely cause
troubles if two different handles to the same object are used to e.g.
wait on a synchronization primitive.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 9396b6b26..0e1397cd9 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -77,9 +77,6 @@ Handle ArbitrateHighestPriorityThread(u32 arbiter, u32 address); | |||
| 77 | /// Arbitrate all threads currently waiting... | 77 | /// Arbitrate all threads currently waiting... |
| 78 | void ArbitrateAllThreads(u32 arbiter, u32 address); | 78 | void ArbitrateAllThreads(u32 arbiter, u32 address); |
| 79 | 79 | ||
| 80 | /// Gets the current thread | ||
| 81 | Thread* GetCurrentThread(); | ||
| 82 | |||
| 83 | /// Gets the current thread handle | 80 | /// Gets the current thread handle |
| 84 | Handle GetCurrentThreadHandle(); | 81 | Handle GetCurrentThreadHandle(); |
| 85 | 82 | ||