aboutsummaryrefslogtreecommitdiff
path: root/src/core/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/timer.c')
-rw-r--r--src/core/timer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/timer.c b/src/core/timer.c
index ad47ae33..36024817 100644
--- a/src/core/timer.c
+++ b/src/core/timer.c
@@ -1,5 +1,5 @@
//
-// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
@@ -136,6 +136,8 @@ nni_timer_loop(void *arg)
nni_time now;
nni_timer_node *node;
+ nni_thr_set_name(NULL, "nng:timer");
+
for (;;) {
nni_mtx_lock(&timer->t_mx);
timer->t_active = NULL;