nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Locking In Scripts and nmh Locking

2012-04-26 16:29:25
Paul wrote:

i think locking inside of mh is nec'y,

Of course, it definitely is necessary.

I'm concerned about _outside_ poking around _inside_.  Bad
idea.  While it's always been easy to do with mh, I don't
see a need to encourage it any further.  And I'm willing to
help make it less necessary.

i fought mh locking bugs for years

That's my point :-]

because my .forward went to a perl script that ultimately
ran rcvstore, while cron was capable of running "pick" at
any moment.)

Would a don't-modify-any-internal-nmh-state switch to pick
would have solved that problem?  Assuming it was specified,
of course, but compared to locking that's not a disadvantage.
And if the machine crashes while it's executing pick with that
switch, no harm.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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