summaryrefslogtreecommitdiffstats
path: root/src/trex_watchdog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/trex_watchdog.cpp')
-rw-r--r--src/trex_watchdog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/trex_watchdog.cpp b/src/trex_watchdog.cpp
index 88711b7a..9b6f5865 100644
--- a/src/trex_watchdog.cpp
+++ b/src/trex_watchdog.cpp
@@ -218,6 +218,8 @@ void TrexWatchDog::stop() {
*/
void TrexWatchDog::_main() {
+ pthread_setname_np(pthread_self(), "Trex Watchdog");
+
assert(m_enable == true);
/* start main loop */