note 106268 deleted from function.flock by danbrown
| From: | danbrown@php.net | Date: | Mon, 24 Oct 2011 16:06:20 +0000 |
| Subject: | note 106268 deleted from function.flock by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-184107@lists.php.net to get a copy of this message | ||
Note Submitter: robaaal at o2 dot pl
----
flock() is useless now, since 5.3.2 it not unlock files automatically when the script executions
stop.
When the script breaks before the lock was released, any other script can't read file, and even
can't turn off the lock.
It makes flock useless for normal use.