RE: [PEAR-DEV] Cache & file locking
| From: | Patrick O'Lone | Date: | Mon, 23 Sep 2002 17:00:22 +0000 |
| Subject: | RE: [PEAR-DEV] Cache & file locking | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9368@lists.php.net to get a copy of this message | ||
> 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.
If you have questions, comments, or need additional information about
the subject of this message, feel free to contact us via phone or
e-mail.
Regards,
Patrick O'Lone
------------------------------
TOWNNEWS.COM/INN
Internet Software Engineer
Phone: 309-743-0809
Toll: 800-579-6397
Fax: 309-743-0830
Email: polone@townnews.com
------------------------------