RE: [PEAR-DEV] Cache & file locking

From: Date: Mon, 23 Sep 2002 19:33:31 +0000
Subject: RE: [PEAR-DEV] Cache & file locking
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-9383@lists.php.net to get a copy of this message
> (...) > You still use locking to ensure that a write process can finish before > another attempts to read the file. We also set non-blocking mode in read > mode so that multiple readers can access the same resource at the same > time. NOTE: Direct I/O support must be compiled into PHP for these > features to work (--enable-dio). Hum... Very interesting things... Thanks a lot. I will bench and test it for Cache_Lite. And I will add it as an option (but not by default) because PHP version has to be >4.2 and because of --enable-dio (you have to be root to do that). But 'seems to be a very good option ! :-) Fab

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