summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-11 21:09:10 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-12 03:39:39 +0200
commit4f7a055081dff4299ee049a03c7a6f1659406942 (patch)
treea9ba4323003af89d5fcb8b993a27bcad98401e06 /src/core/hle/kernel/thread.h
parentMerge pull request #749 from yuriks/stack-top (diff)
downloadyuzu-4f7a055081dff4299ee049a03c7a6f1659406942.tar
yuzu-4f7a055081dff4299ee049a03c7a6f1659406942.tar.gz
yuzu-4f7a055081dff4299ee049a03c7a6f1659406942.tar.bz2
yuzu-4f7a055081dff4299ee049a03c7a6f1659406942.tar.lz
yuzu-4f7a055081dff4299ee049a03c7a6f1659406942.tar.xz
yuzu-4f7a055081dff4299ee049a03c7a6f1659406942.tar.zst
yuzu-4f7a055081dff4299ee049a03c7a6f1659406942.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 afdaf8511..2ee63d279 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -72,12 +72,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
*/
@@ -168,9 +162,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;
@@ -229,14 +220,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();