summaryrefslogtreecommitdiff
path: root/src/threads/_enums.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-16 16:14:04 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-16 16:14:04 -0400
commit661f59838235815b5073a0ef95f410003639519e (patch)
tree28eb14bc8053bb32abd7c103c4078ab4f81b6129 /src/threads/_enums.h
parente223e635cc53fa11e473cdbc864eb69a3da5f290 (diff)
rename non-compiled files to *.h
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)
+*/