Article View: news.software.nntp
Article #1942Re: trn kill(0) instead if kill(SIGEMT)
From: Larry Wall
Date: Sat, 12 Jun 1993 00:24
Date: Sat, 12 Jun 1993 00:24
20 lines
1697 bytes
1697 bytes
In article <C8FEzr.1o0@borland.com> davison@borland.com (Wayne Davison) writes: : gamiddle@math.uwaterloo.ca (Guy Middleton) wrote: : > I think trn should use kill(0) rather than kill(SIGEMT) to see if there : > is another trn running. : : I see no problem making the change. Does anyone else know why kill(SIGEMT) : might be preferable to kill(0)? : : > Anyway, kill(0) is intended for just this use, why not use it? : : I have wondered that myself -- I guess we'd have to ask Larry Wall why he : did things this way in the original rn. Yikes, that's ancient history. When rn was written, many systems didn't support kill(0) to test for process existence. I believe it was a Berkeley innovation that, FOR SOME PECULIAR REASON, was slow to diffuse to other varieties of Unix. Larry Wall lwall@netlabs.com
Technical Details
Message-ID:
<1993Jun12.002420.902@netlabs.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!dog.ee.lbl.gov!network.ucsd.edu!news.cerf.net!netlabs!lwallReferences:
<C8D6AA.E37@math.uwaterloo.ca> <C8DAsu.1y5@math.uwaterloo.ca> <C8FEzr.1o0@borland.com>Show Full Headers
Complete Article Headers
Message-ID: <1993Jun12.002420.902@netlabs.com> Subject: Re: trn kill(0) instead if kill(SIGEMT) Date: Sat, 12 Jun 1993 00:24:20 GMT From: lwall@netlabs.com (Larry Wall) References: <C8D6AA.E37@math.uwaterloo.ca> <C8DAsu.1y5@math.uwaterloo.ca> <C8FEzr.1o0@borland.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!dog.ee.lbl.gov!network.ucsd.edu!news.cerf.net!netlabs!lwall Newsgroups: news.software.readers,news.software.nntp Keywords: trn 3.0 ftp overview NOV XOVER thread mthreads Sender: news@netlabs.com Nntp-Posting-Host: scalpel.netlabs.com Organization: NetLabs, Inc. Lines: 20