make sure only one guy can call exit.
This commit is contained in:
parent
6c7460701e
commit
1be1539ea8
@ -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 New Issue
Block a user