mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
make sure only one guy can call exit.
This commit is contained in:
parent
6c7460701e
commit
1be1539ea8
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ _threaddie(int x)
|
|||
USED(x);
|
||||
|
||||
if(_threadexitsallstatus)
|
||||
exit(_threadexitsallstatus[0] ? 1 : 0);
|
||||
_exit(_threadexitsallstatus[0] ? 1 : 0);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in a new issue