WorkQueueThread: Cleanups. Implement in terms of WaitableSPSCQueue. Add single producer WorkQueueThreadSP.
This commit is contained in:
1 parent
852bd6df1a
commit
a149b9d62d
3 files changed
+115
-115
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user