summaryrefslogtreecommitdiff
path: root/src/threads/_enums.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads/_enums.h')
-rw-r--r--src/threads/_enums.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/threads/_enums.h b/src/threads/_enums.h
new file mode 100644
index 00000000..a8a16849
--- /dev/null
+++ b/src/threads/_enums.h
@@ -0,0 +1,16 @@
+enum {
+ mtx_plain = 1 << 0,
+ mtx_recursive = 1 << 1,
+ mtx_timed = 1 << 2,
+};
+
+enum {
+ thrd_success = 0,
+ thrd_busy = 1,
+ thrd_error = 2,
+ thrd_nomem = 3,
+ thrd_timedout = 4,
+};
+/*
+STDC(201112)
+*/