summaryrefslogtreecommitdiff
path: root/nonstd/static/thread.h
diff options
context:
space:
mode:
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;
+}