make sure only one guy can call exit.

This commit is contained in:
rsc 2004-05-23 01:00:12 +00:00
parent 6c7460701e
commit 1be1539ea8

View file

@ -29,7 +29,7 @@ _threaddie(int x)
USED(x);
if(_threadexitsallstatus)
exit(_threadexitsallstatus[0] ? 1 : 0);
_exit(_threadexitsallstatus[0] ? 1 : 0);
}
int