aboutsummaryrefslogtreecommitdiff
path: root/src/libthread
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-05-14 17:45:39 +0000
committerrsc <devnull@localhost>2004-05-14 17:45:39 +0000
commitf1bfc54e12efe488e355debf696dbd999c62fe07 (patch)
tree4037221d2300fe3a8925f00da6984b26995158a2 /src/libthread
parent1a8f27c35024af7b4ed857a388d20f0a4a560db0 (diff)
downloadplan9port-f1bfc54e12efe488e355debf696dbd999c62fe07.tar.gz
plan9port-f1bfc54e12efe488e355debf696dbd999c62fe07.tar.bz2
plan9port-f1bfc54e12efe488e355debf696dbd999c62fe07.zip
More little bug fixes
Diffstat (limited to 'src/libthread')
-rw-r--r--src/libthread/exit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libthread/exit.c b/src/libthread/exit.c
index 1f9c26ae..cf34c60c 100644
--- a/src/libthread/exit.c
+++ b/src/libthread/exit.c
@@ -55,8 +55,9 @@ threadexitsall(char *exitstr)
_threaddebug(DBGSCHED, "threadexitsall kill %d", pid[i]);
if(pid[i]==0 || pid[i]==-1)
fprint(2, "bad pid in threadexitsall: %d\n", pid[i]);
- else if(pid[i] != mypid)
+ else if(pid[i] != mypid){
kill(pid[i], SIGTERM);
+ }
}
/* leave */