do not call exits in threaded programs
This commit is contained in:
parent
e33c70bc72
commit
38c10d1abc
8 changed files with 25 additions and 17 deletions
|
|
@ -23,6 +23,14 @@ void _threadsleep(Rendez*);
|
|||
_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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue