diff options
author | rsc <devnull@localhost> | 2004-05-14 17:45:39 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-05-14 17:45:39 +0000 |
commit | f1bfc54e12efe488e355debf696dbd999c62fe07 (patch) | |
tree | 4037221d2300fe3a8925f00da6984b26995158a2 /src/libthread | |
parent | 1a8f27c35024af7b4ed857a388d20f0a4a560db0 (diff) | |
download | plan9port-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.c | 3 |
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 */ |