summaryrefslogtreecommitdiffstats
path: root/lib/thread.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-06-15 18:05:19 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-06-30 01:32:15 +0200
commite0bebc7c223abf239b5ccda1c2de42a2b0410455 (patch)
treec8f3d876bc81c5d34c5966177bff2ccdeaec09c0 /lib/thread.h
parentlib: un-static trash buffer for pipe poker (diff)
downloadfrr-e0bebc7c223abf239b5ccda1c2de42a2b0410455.tar.xz
frr-e0bebc7c223abf239b5ccda1c2de42a2b0410455.zip
lib: mt-safe tracebacks
can't be using them statics anymore sonny Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r--lib/thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.h b/lib/thread.h
index e48068b17..1760a930f 100644
--- a/lib/thread.h
+++ b/lib/thread.h
@@ -220,6 +220,6 @@ extern unsigned long thread_consumed_time(RUSAGE_T *after, RUSAGE_T *before,
unsigned long *cpu_time_elapsed);
/* only for use in logging functions! */
-extern struct thread *thread_current;
+extern pthread_key_t thread_current;
#endif /* _ZEBRA_THREAD_H */