Core: Remove Unused IsRunningInCurrentThread Function

This commit is contained in:
mitaclaw 2024-03-18 07:18:41 -07:00
parent 85dee300b5
commit 11b628f250
2 changed files with 2 additions and 8 deletions

View File

@ -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;

View File

@ -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();