summaryrefslogtreecommitdiff
path: root/lib/thread.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-03-05 17:58:22 -0500
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-03-05 18:04:54 -0500
commitd8a8a8de00ca28879eb865cd4f25e362570a910e (patch)
tree3c49c8db31e59357dc3a22e7ae2ba816931ec4d2 /lib/thread.h
parentc98f4d81aa5d4113ceea58ce6db4bebab5c99735 (diff)
lib: some frr_pthread fixes
* Use atomic fixed-width thread identifiers * Add ability to change thread name at runtime Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/thread.h')
-rw-r--r--lib/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/thread.h b/lib/thread.h
index c830446e10..f7c110914d 100644
--- a/lib/thread.h
+++ b/lib/thread.h
@@ -174,6 +174,7 @@ struct cpu_thread_history {
/* Prototypes. */
extern struct thread_master *thread_master_create(const char *);
+void thread_master_set_name(struct thread_master *master, const char *name);
extern void thread_master_free(struct thread_master *);
extern void thread_master_free_unused(struct thread_master *);