kill system call (was: Re: Buggy UUCP)

John F. Haugh II haugj at pigs.UUCP
Sat Sep 24 01:39:19 AEST 1988


In article <8349 at bigtex.uucp> james at bigtex.UUCP (James Van Artsdalen) writes:
>Older UUCPs did not use the (relatively new) capability of kill to
>detect the existence of a process, and hence simply assumed that a
>lock was "stale" if it was old enough.  "Old enough" often meant an
>hour or two.  This scheme doesn't [ work ] terribly well.

the kill (PID, 0) idiom has been in unix since 7th Edition days, at
least.  it is common to both BSD and USG unixii, so it can be used
without worrying about portablity.

uuclean should still be set to remove LCK.. files that are more than
a few hours old so that LCK..<system> files will be deleted if they
are abandoned.  [ LCK..<device> files will be removed by uucico if
need be ]
-- 
=-=-=-=-=-=-=-The Beach Bum at The Big "D" Home for Wayward Hackers-=-=-=-=-=-=
               Very Long Address: John.F.Haugh at rpp386.dallas.tx.us
                         Very Short Address: jfh at rpp386
                           "ANSI C: Just say no" -- Me



More information about the Comp.unix.microport mailing list