Merge pull request #12649 from mitaclaw/kill-is-running-in-current-thread
Core: Remove Unused IsRunningInCurrentThread Function
This commit is contained in:
commit
7f1e7314de
|
@ -210,11 +210,6 @@ bool IsRunningAndStarted()
|
||||||
return s_is_started && !s_is_stopping;
|
return s_is_started && !s_is_stopping;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IsRunningInCurrentThread()
|
|
||||||
{
|
|
||||||
return IsRunning() && IsCPUThread();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool IsCPUThread()
|
bool IsCPUThread()
|
||||||
{
|
{
|
||||||
return tls_is_cpu_thread;
|
return tls_is_cpu_thread;
|
||||||
|
|
|
@ -138,9 +138,8 @@ void UndeclareAsHostThread();
|
||||||
std::string StopMessage(bool main_thread, std::string_view message);
|
std::string StopMessage(bool main_thread, std::string_view message);
|
||||||
|
|
||||||
bool IsRunning();
|
bool IsRunning();
|
||||||
bool IsRunningAndStarted(); // is running and the CPU loop has been entered
|
bool IsRunningAndStarted(); // is running and the CPU loop has been entered
|
||||||
bool IsRunningInCurrentThread(); // this tells us whether we are running in the CPU thread.
|
bool IsCPUThread(); // this tells us whether we are the CPU thread.
|
||||||
bool IsCPUThread(); // this tells us whether we are the CPU thread.
|
|
||||||
bool IsGPUThread();
|
bool IsGPUThread();
|
||||||
bool IsHostThread();
|
bool IsHostThread();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue