name some threads

This commit is contained in:
Shawn Hoffman
2020-08-22 02:55:31 -07:00
parent a769dff1d0
commit 6ef9d70701
6 changed files with 16 additions and 0 deletions

View File

@ -10,6 +10,7 @@
#include "Common/Event.h"
#include "Common/Flag.h"
#include "Common/Thread.h"
// A thread that executes the given function for every item placed into its queue.
@ -53,6 +54,8 @@ private:
void ThreadLoop()
{
Common::SetCurrentThreadName("WorkQueueThread");
while (true)
{
m_wakeup.Wait();