nmh-workers
[Top] [All Lists]

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

2012-04-25 10:01:44
Is there a way  that scripts can use locking compatibly with the locking
used by the local nmh installation.  If not there should be. If so, is
it documented, if not it should be.

Locking in nmh is a bit of a mess; there's conflation between "locking
the mail spool" (which a script shouldn't care about) and "locking various
nmh things" (which scripts could conceivably care about).  There's not
a way to do what you want right now.

But I'm trying to understand ... what would you do from a script
that would require locking?  Obviously if you're using nmh programs
they would do the locking for you.  Do you want to do things like
manipulate sequence or context files yourself?

--Ken

_______________________________________________
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>