thread/Name: set thread names
For debugging.
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include "Idle.hxx"
|
||||
#include "GlobalEvents.hxx"
|
||||
#include "util/Domain.hxx"
|
||||
#include "thread/Name.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
#include <string.h>
|
||||
@@ -1106,6 +1107,8 @@ player_task(void *arg)
|
||||
{
|
||||
PlayerControl &pc = *(PlayerControl *)arg;
|
||||
|
||||
SetThreadName("player");
|
||||
|
||||
DecoderControl dc(pc.mutex, pc.cond);
|
||||
decoder_thread_start(dc);
|
||||
|
||||
|
Reference in New Issue
Block a user