Re: Cache & file locking

From: Date: Mon, 23 Sep 2002 06:22:13 +0000
Subject: Re: Cache & file locking
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-9342@lists.php.net to get a copy of this message
Le ven 20/09/2002 à 11:54, BUSTARRET, Jean-Francois a écrit : > > Cache.php says that no file locking is implemented. > > But the file container has some locking features : > fetch does a flock($fh, LOCK_SH) and save a flock($fh, LOCK_EX) > > Where's the truth ? There is a FileLocking but it's set to off by default. To use it, you have to change the boolean in the code. Yet, fileLocking isn't enough to prevent from cache problems because it doestn't work with NFS, it doesn't work with multithread servers... Fab

« previous php.pear.dev (#9342) next »