tmake sure only one guy can call exit. - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 1be1539ea802a63e508514d7431e9eaead0b0857
DIR parent 6c7460701e7896446d0fb14bf9b24f258c61b6a6
HTML 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(-)
---
DIR diff --git a/src/libthread/main.c b/src/libthread/main.c
t@@ -29,7 +29,7 @@ _threaddie(int x)
USED(x);
if(_threadexitsallstatus)
- exit(_threadexitsallstatus[0] ? 1 : 0);
+ _exit(_threadexitsallstatus[0] ? 1 : 0);
}
int