summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-05-12 05:22:47 +0200
committerbunnei <bunneidev@gmail.com>2015-05-12 05:22:47 +0200
commitee8da4c35649a70cfb61484d0a41ba04aff034c1 (patch)
tree65b7b2cd1c0fcc22f545c87052ec00f3528c92f4 /src/core/hle/kernel/thread.h
parentMerge pull request #757 from Subv/scheduling (diff)
parentThread: Remove the idle thread (diff)
downloadyuzu-ee8da4c35649a70cfb61484d0a41ba04aff034c1.tar
yuzu-ee8da4c35649a70cfb61484d0a41ba04aff034c1.tar.gz
yuzu-ee8da4c35649a70cfb61484d0a41ba04aff034c1.tar.bz2
yuzu-ee8da4c35649a70cfb61484d0a41ba04aff034c1.tar.lz
yuzu-ee8da4c35649a70cfb61484d0a41ba04aff034c1.tar.xz
yuzu-ee8da4c35649a70cfb61484d0a41ba04aff034c1.tar.zst
yuzu-ee8da4c35649a70cfb61484d0a41ba04aff034c1.zip
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index 1d4d010fe..a06c7d4fe 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -73,12 +73,6 @@ public:
void Acquire() override;
/**
- * Checks if the thread is an idle (stub) thread
- * @return True if the thread is an idle (stub) thread, false otherwise
- */
- inline bool IsIdle() const { return idle; }
-
- /**
* Gets the thread's current priority
* @return The current thread's priority
*/
@@ -170,9 +164,6 @@ public:
std::string name;
- /// Whether this thread is intended to never actually be executed, i.e. always idle
- bool idle = false;
-
private:
Thread();
~Thread() override;
@@ -231,14 +222,6 @@ void WaitCurrentThread_WaitSynchronization(std::vector<SharedPtr<WaitObject>> wa
void WaitCurrentThread_ArbitrateAddress(VAddr wait_address);
/**
- * Sets up the idle thread, this is a thread that is intended to never execute instructions,
- * only to advance the timing. It is scheduled when there are no other ready threads in the thread queue
- * and will try to yield on every call.
- * @return The handle of the idle thread
- */
-SharedPtr<Thread> SetupIdleThread();
-
-/**
* Initialize threading
*/
void ThreadingInit();