diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-12-27 20:28:15 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-12-27 20:32:30 -0500 |
| commit | bf1ab3e562e7bdb44fcf75d587d1052e143fa222 (patch) | |
| tree | db724de34e5e8a8326ce1a061553520cbd157944 /src/core/hle/kernel/thread.h | |
| parent | 0c833d12d72a7894647dc968595942acbcf1385f (diff) | |
kernel/thread: Move process thread initialization into process.cpp
This function isn't a general purpose function that should be exposed to
everything, given it's specific to initializing the main thread for a
Process instance.
Given that, it's a tad bit more sensible to place this within
process.cpp, which keeps it visible only to the code that actually needs
it.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index fe5398d563..cc68eed2fa 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -456,17 +456,6 @@ private: }; /** - * Sets up the primary application thread - * @param kernel The kernel instance to create the main thread under. - * @param entry_point The address at which the thread should start execution - * @param priority The priority to give the main thread - * @param owner_process The parent process for the main thread - * @return A shared pointer to the main thread - */ -SharedPtr<Thread> SetupMainThread(KernelCore& kernel, VAddr entry_point, u32 priority, - Process& owner_process); - -/** * Gets the current thread */ Thread* GetCurrentThread(); |
