Re: Re: Maildir format
Jason Rennie <[email protected]> Thu, 29 May 2003 10:07:18 -0400
| Newsgroups | gmane.mail.ifile.general |
|---|---|
| Message-ID | <[email protected]> |
[email protected] 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