Re: Mutt Next Generation
Hello,
> This simply can't be guaranteed across platforms. Which locking
> mechanisms work (i.e. aren't broken) on NFS vary from platform to
> platform, release to release.
Some alternatives which come to my mind:
- When opening the header cache, open it twice and see if the
second call fails. - Otherwise refuse to use it.
- Use locking mechanism which works always: Creating a file is
atomar AFAIK.
- Add extra code which gets sure that hcache database isn't
stored on NFS.
- Make the cache (optional) session local. That way at least
sucessive opens of the same mailbox are fast.
Sincerely,
Thomas