aboutsummaryrefslogtreecommitdiff
path: root/src/core/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/thread.c')
-rw-r--r--src/core/thread.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/thread.c b/src/core/thread.c
index adc35542..986ff331 100644
--- a/src/core/thread.c
+++ b/src/core/thread.c
@@ -1,5 +1,5 @@
//
-// Copyright 2017 Garrett D'Amore <garrett@damore.org>
+// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
//
// This software is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this
@@ -182,3 +182,9 @@ nni_thr_is_self(nni_thr *thr)
}
return (nni_plat_thr_is_self(&thr->thr));
}
+
+void
+nni_thr_set_name(nni_thr *thr, const char *name)
+{
+ nni_plat_thr_set_name(&thr->thr, name);
+} \ No newline at end of file