nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] locking of sequences file broken


From: Ken Hornstein
Subject: Re: [Nmh-workers] locking of sequences file broken
Date: Wed, 09 Apr 2014 08:49:45 -0400

>I noticed that locking of the sequences file was broken:  the
>program would proceed anyway after failing to acquire the lock.
>I have fixed that on the fix-locking branch; reviews would be
>appreciated.
>
>Ken observed that this might be the cause of the sequence file
>clearing that you experienced with mark(1), Jerrad:
>
>    http://lists.nongnu.org/archive/html/nmh-workers/2014-02/msg00155.html
>
>The fix is to bail out, so hooks need to be prepared for that.

To expand on this a bit ... because the sequence locks are held when the
hooks are run, that means that nmh programs will (correctly) fail when
they try to obtain sequence locks inside of hooks (context locks are not
transactional).

--Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]