nmh-workers
[Top] [All Lists]

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

2014-04-09 07:51:38
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

_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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