[Pmwiki-users] Re: Files in wiki.d/
Christian Ridderström
chr
Fri Feb 13 22:19:49 CST 2004
On Fri, 13 Feb 2004, Patrick R. Michaud wrote:
> > (funny about .flock though, I thought that was only created when
> > an instance of pmwiki is about to write to wiki.d/)
>
> It's created but never deleted--there's little point in repeatedly
> creating and deleting the file. The locking is provided via the
> flock() function and not the existence/nonexistence of the lock file.
I found a manual page here
http://se.php.net/flock
but I can't really say I felt wiser after reading it. Seems like flock()
might be unsafe on NFS for instance. Anyway, I'll happily leave this
problem for you ;-)
/Christian
--
Christian Ridderstr?m http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list