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);
|
USED(x);
|
||||||
|
|
||||||
if(_threadexitsallstatus)
|
if(_threadexitsallstatus)
|
||||||
exit(_threadexitsallstatus[0] ? 1 : 0);
|
_exit(_threadexitsallstatus[0] ? 1 : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue