RE: [PEAR-DEV] Cache & file locking
| From: | MARTY Fabien | Date: | Mon, 23 Sep 2002 18:59:55 +0000 |
| Subject: | RE: [PEAR-DEV] Cache & file locking | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9379@lists.php.net to get a copy of this message | ||
Le lun 23/09/2002 à 19:00, Patrick O'Lone a écrit :
> > Yet, fileLocking isn't enough to prevent from cache problems
> > because it doestn't work with NFS, it doesn't work with
> > multithread servers...
>
> Why not use dio_fcntl() then, instead of flock()? Lockd (via NFS)
> respects fcntl() operations.
I will try it. Thanks, I didn't know this function. Ok it has to be ok
for NFS. But what about problems with multithread servers ?
Fab