note 72002 deleted from function.flock by danbrown
| From: | danbrown@php.net | Date: | Mon, 18 May 2009 00:38:11 +0000 |
| Subject: | note 72002 deleted from function.flock by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155398@lists.php.net to get a copy of this message | ||
Note Submitter: georgeskesseler at yahoo point com
----
If you do some testing opening several tabs in firefox on the same URL you may find that LOCK_NB
seems not to get respected and $wouldblock always is 0. Apparently this is a firefox problem. Try 2
different browsers or 2 separate wget, then there is no problem.
http://bugs.php.net/bug.php?id=36824
I also confirm that you have to test the value of $wouldblock, not the return value of flock() if
using LOCK_NB on linux (debian/ubuntu 2.6.15-26-386)