summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-05-03 19:01:19 +0200
committerMaria Matejka <mq@ucw.cz>2023-05-06 10:50:32 +0200
commit00f30ac40bda76b289b1dc5c5aa8a5d2e4941985 (patch)
tree506fe68a74e0c3d09136967346e5e2aca08358e8 /lib
parent1e998a434909b6ad5506c4b0084b7ad1ef3da2b1 (diff)
Debug: keep a circular log of memory page operations
Diffstat (limited to 'lib')
-rw-r--r--lib/birdlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/birdlib.h b/lib/birdlib.h
index 3f65b8c2..9132fb93 100644
--- a/lib/birdlib.h
+++ b/lib/birdlib.h
@@ -183,6 +183,8 @@ void bug(const char *msg, ...) NORET;
void debug(const char *msg, ...); /* Printf to debug output */
void debug_safe(const char *msg); /* Printf to debug output, async-safe */
+extern _Thread_local uint this_thread_id;
+
/* Debugging */
#if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG)