diff options
Diffstat (limited to 'src/core/thread.h')
| -rw-r--r-- | src/core/thread.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/thread.h b/src/core/thread.h index c3d5531e..154b4616 100644 --- a/src/core/thread.h +++ b/src/core/thread.h @@ -1,5 +1,5 @@ // -// Copyright 2017 Garrett D'Amore <garrett@damore.org> +// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2017 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a @@ -85,4 +85,7 @@ extern void nni_thr_wait(nni_thr *thr); // nni_thr_is_self returns true if the caller is the named thread. extern bool nni_thr_is_self(nni_thr *thr); +// nni_thr_set_name is used to set a short name for the thread. +extern void nni_thr_set_name(nni_thr *thr, const char *); + #endif // CORE_THREAD_H |
