> From: [EMAIL PROTECTED] [mailto:bug-mailutils-
> Subject: Re: [bug-mailutils] Lock with external program question
> 
> On Wed, Sep 21, 2005 at 06:46:06PM +0300, Kostas Zorbadelos wrote:
> 
> Please discard this question. Our decision in not to use an external
> program (as it will spawn an external process). Instead we would like
> to implement another locking method or extend the ones found in
> locker.c
> 
> Will lets you know and send patches.
> 

Interesting, for mailbox locking, there are 2 types of locks that are
recognized:
- the dotlock: creating a known temporary file(with the PID as the content)
- the fcntl/lockf: using the OS locking mechanism, with the caveat it may
not work across distributed file system like NFS.

This seems to cover most cases, so the locker_t object did not allow to
overload its behaviour besides, providing the behaviour with the flags at
creation locker_create(..., flags);

I'm curious, what scenario did we not cover, with all the flags define in
locker.h?




_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to