ifile-discuss
[Top][All Lists]
Advanced

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

Re: [Ifile-discuss] Re: Maildir format


From: Jason Rennie
Subject: Re: [Ifile-discuss] Re: Maildir format
Date: Thu, 29 May 2003 10:07:18 -0400

address@hidden said:
> Do I need to worry about locking with the ifile database? Or is that
> handled already?

ifile uses the semget, semctl, semop group of calls to do file locking. It
seems to work quite well, both for local and NFS files.  You'd have to ask
Harry McGavran about the details, though.

An easy way to see it in action is by running your script to build the
database and filing a message at the same time.  Filing should take longer
than usual as it waits for a chance to access .idata.

You can find the semaphore code in ifile.c.

Jason






reply via email to

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