Core: Remove Unused IsRunningInCurrentThread Function
This commit is contained in:
parent
85dee300b5
commit
11b628f250
|
@ -210,11 +210,6 @@ bool IsRunningAndStarted()
|
|||
return s_is_started && !s_is_stopping;
|
||||
}
|
||||
|
||||
bool IsRunningInCurrentThread()
|
||||
{
|
||||
return IsRunning() && IsCPUThread();
|
||||
}
|
||||
|
||||
bool IsCPUThread()
|
||||
{
|
||||
return tls_is_cpu_thread;
|
||||
|
|
|
@ -138,9 +138,8 @@ void UndeclareAsHostThread();
|
|||
std::string StopMessage(bool main_thread, std::string_view message);
|
||||
|
||||
bool IsRunning();
|
||||
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 IsRunningAndStarted(); // is running and the CPU loop has been entered
|
||||
bool IsCPUThread(); // this tells us whether we are the CPU thread.
|
||||
bool IsGPUThread();
|
||||
bool IsHostThread();
|
||||
|
||||
|
|
Loading…
Reference in New Issue