summaryrefslogtreecommitdiff
path: root/nonstd/static/thread.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-01-26 22:41:05 -0500
committerJakob Kaivo <jkk@ung.org>2019-01-26 22:41:05 -0500
commit8c6d4505329f94446084ca93eae10cd796d79a8d (patch)
treec00c6a990c81bd771ebcac72b38fd3ce2382c42e /nonstd/static/thread.h
new framework for building sources after gitlab migration
Diffstat (limited to 'nonstd/static/thread.h')
-rw-r--r--nonstd/static/thread.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nonstd/static/thread.h b/nonstd/static/thread.h
new file mode 100644
index 00000000..00b40861
--- /dev/null
+++ b/nonstd/static/thread.h
@@ -0,0 +1,5 @@
+static struct per_thread *per_thread(void)
+{
+ static struct per_thread pt = {0};
+ return &pt;
+}