On Mon, Aug 09, 2010 at 06:18:41PM -0400, Patrick Shanahan wrote:
> * Chris G <[email protected]> [08-09-10 18:11]:
> > Can anyone point me at some code that shows how I should do mbox
> > locking in a way that will work with mutt?
> > 
> > This is on an Ubuntu 9.10 (probably soon 10.04) system.
> > 
> > I need to know what locking calls I must make (fcntl, or lockf, or
> > what), do I need to do dot-locking as well, what is the necessary
> > order of the calls to avoid deadlock etc.?
> 
> on cl "mutt -v" will tell you what locking is compiled in your version.

Yes, I've already done that:-

   ....+USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL  -USE_FLOCK....

but does that mean that to co-operate with mutt another process *has*
to use dotlock and fcntl?  ... and, if so, what order should one do
things in?

-- 
Chris Green

Reply via email to