WorkQueueThread: Cleanups. Implement in terms of WaitableSPSCQueue. Add single producer WorkQueueThreadSP.

This commit is contained in:
Jordan Woyak
2025-04-30 14:31:51 -05:00
parent 852bd6df1a
commit a149b9d62d
3 changed files with 115 additions and 115 deletions
@@ -69,9 +69,9 @@ void CustomAssetLoader::Init()
});
}
void CustomAssetLoader ::Shutdown()
void CustomAssetLoader::Shutdown()
{
m_asset_load_thread.Shutdown(true);
m_asset_load_thread.StopAndCancel();
m_asset_monitor_thread_shutdown.Set();
m_asset_monitor_thread.join();