aboutsummaryrefslogtreecommitdiff
path: root/chopstx-gnu-linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'chopstx-gnu-linux.h')
-rw-r--r--chopstx-gnu-linux.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/chopstx-gnu-linux.h b/chopstx-gnu-linux.h
new file mode 100644
index 0000000..cce34f1
--- /dev/null
+++ b/chopstx-gnu-linux.h
@@ -0,0 +1,9 @@
+/*
+ * The thread context: specific to GNU/Linux.
+ *
+ * We use the type ucontext_t, which includes all registers;
+ * Note that signal mask is also included in ucontext_t.
+ *
+ */
+
+typedef ucontext_t tcontext_t;