commit 1be1539ea802a63e508514d7431e9eaead0b0857 parent 6c7460701e7896446d0fb14bf9b24f258c61b6a6 Author: rsc <devnull@localhost> Date: Sun, 23 May 2004 01:00:12 +0000 make sure only one guy can call exit. Diffstat:
M | src/libthread/main.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libthread/main.c b/src/libthread/main.c @@ -29,7 +29,7 @@ _threaddie(int x) USED(x); if(_threadexitsallstatus) - exit(_threadexitsallstatus[0] ? 1 : 0); + _exit(_threadexitsallstatus[0] ? 1 : 0); } int