Skip to content

Commit ffac495

Browse files
committed
added thread name
1 parent 6f767e2 commit ffac495

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ReadoutEquipment.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,9 @@ Thread::CallbackResult ReadoutEquipment::threadCallback(void* arg)
351351
{
352352
ReadoutEquipment* ptr = static_cast<ReadoutEquipment*>(arg);
353353

354+
// set thread name
355+
setThreadName(ptr->getName().c_str());
356+
354357
// flag to identify if something was done in this iteration
355358
bool isActive = false;
356359

0 commit comments

Comments
 (0)