procmail
[Top] [All Lists]

scope of locking

1997-04-10 08:02:00
Suppose I have a recipe of the form

  :0HBiw:$SGHOMEU/eeyore.lock
  * ? $SGHOMEX/eeyore.pl
  /dev/null

where eeyore.pl is a program which has lots of side effects and which
must run single-threaded, so I want eeyore.lock to be active during
the testing part of the recipe.  I have three questions.

1.  Does the lock take effect only during the action line of the
    recipe, or is it active during the testing parts as well?

2.  So that I can rely on the stability of the answer to question 1,
    does that answer appear in the documentation somewhere?

3.  Has the answer to question 1 changed in recent versions of
    procmail?

-- It is now safe to turn off your computer.
Bill Evans/Box 4829/Irvine, California 92716/(714)551-2766  _   /| ACK!
Email-To: wje(_at_)acm(_dot_)org  -- PGP encrypted mail preferred. --  \`o_O' /
   Finger wje(_at_)netcom(_dot_)com for public key.   Key #: 441AFEA5   =( )=
PGPprint: FB D0 1C 1D EF DC 26 BA  B3 9E 84 0B 40 D6 59 9C     U

<Prev in Thread] Current Thread [Next in Thread>