[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Locking In Scripts and nmh Locking
From: |
Ken Hornstein |
Subject: |
Re: [Nmh-workers] Locking In Scripts and nmh Locking |
Date: |
Fri, 27 Apr 2012 10:41:21 -0400 |
>The basic philosophy and reason-for-existence of mh and of nmh is that that's
>not the way to go. I should be allowed -- nay encouraged -- to use file system
>tools to manipulate mh constructs.
Okay, let me put in my $0.02:
- I'm kinda with David Levine in that manipulating the MH files directly
is a sort of "Here be Dragons" kind of thing.
- But I also believe that if you want to hang yourself then you should
be allowed to buy the rope.
So, given that ... I'm fine with some kind of locking program. I
see this as a distinct issue from the "cron jobs modify the MH
context" problem; Ralph has already shown a reasonable soution for
that. My thinking is that you would use this program only for
fiddling with MH files outside of MH programs. It would NOT be for
running one or more MH commands inside of a lock. E.g., something
like:
mhlock pick -seq ...
would deadlock.
So, here's a usage I'm thinking of:
mhlock [-seq] [-context] [-folder foldername] [-all] [--] command
The -seq, -context, -folder switches would control what it would lock.
-all would lock all things. mhlock would then run the command specified
on the command line under the lock, then exit.
--Ken
Re: [Nmh-workers] Locking In Scripts and nmh Locking, norm, 2012/04/27
- Re: [Nmh-workers] Locking In Scripts and nmh Locking, Ralph Corderoy, 2012/04/27
- Re: [Nmh-workers] Locking In Scripts and nmh Locking,
Ken Hornstein <=
- Re: [Nmh-workers] Locking In Scripts and nmh Locking, norm, 2012/04/27
- Re: [Nmh-workers] Locking In Scripts and nmh Locking, Valdis . Kletnieks, 2012/04/27
- Re: [Nmh-workers] Locking In Scripts and nmh Locking, norm, 2012/04/28
- Re: [Nmh-workers] Locking In Scripts and nmh Locking, norm, 2012/04/28
Re: [Nmh-workers] Locking In Scripts and nmh Locking, Ken Hornstein, 2012/04/27
Re: [Nmh-workers] Locking In Scripts and nmh Locking, norm, 2012/04/28
Re: [Nmh-workers] Locking In Scripts and nmh Locking, Ken Hornstein, 2012/04/29
Re: [Nmh-workers] Locking In Scripts and nmh Locking, Lyndon Nerenberg, 2012/04/29
Re: [Nmh-workers] Locking In Scripts and nmh Locking, David Levine, 2012/04/26