mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 08:09:19 +00:00
name some threads
This commit is contained in:
parent
a769dff1d0
commit
6ef9d70701
6 changed files with 16 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue