aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/thread.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/thread.h b/include/thread.h
index c6dc5930..0ba726a4 100644
--- a/include/thread.h
+++ b/include/thread.h
@@ -24,6 +24,14 @@ _Thread *_threadwakeup(Rendez*);
#define yield threadyield
/*
+ * I am tired of making this mistake.
+ */
+#define exits do_not_call_exits_in_threaded_programs
+#define _exits do_not_call__exits_in_threaded_programs
+
+
+
+/*
* signals
*/
void threadnotify(int(*f)(void*,char*), int);