use threadexitsall

This commit is contained in:
rsc 2004-10-17 05:33:14 +00:00
parent f002cc17a6
commit ad00bb91b9

View file

@ -303,7 +303,7 @@ hangupnote(void *a, char *msg)
}
if(strstr(msg, "child")){
/* bug: do better */
exits(0);
threadexitsall(0);
}
noted(NDFLT);
}