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

This commit is contained in:
Jordan Woyak 2025-03-15 00:21:05 -05:00
parent 852bd6df1a
commit a149b9d62d
3 changed files with 119 additions and 119 deletions

View file

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