nmh-workers
[Top][All Lists]
Advanced

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

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


From: Valdis . Kletnieks
Subject: Re: [Nmh-workers] Locking In Scripts and nmh Locking
Date: Fri, 27 Apr 2012 17:30:12 -0400

On Fri, 27 Apr 2012 13:48:19 -0700, address@hidden said:
>      command is not executed until no other 'mhlock -all' is running, and 
> until
>      no relevant nmh program is running. While command is running no other
>      mhlock -all runs nor does any relevant nmh program run.

If 'command' is a shell script that ends up inadvertently calling something
that calls mhlock itself, you just deadlocked.  And blindly changing the
call inside the script to have a --noblock semantic may not be right either,
as then it would be unsafe to run the script standalone without an mhlock
wrapper...

nmh Barbie: "Locking is hard, let's go shopping"

Attachment: pgpCY7dsLxdeq.pgp
Description: PGP signature


reply via email to

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