note 106268 added to function.flock
| From: | robaaal at o2 dot pl | Date: | Sun, 23 Oct 2011 12:40:33 +0000 |
| Subject: | note 106268 added to function.flock | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-184076@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 64.71.164.2
Probable Submitter: 83.6.29.103
----
Manual Page -- http://www.php.net/manual/en/function.flock.php
Edit -- https://master.php.net/note/edit/106268
Del: integrated -- https://master.php.net/note/delete/106268/integrated
Del: useless -- https://master.php.net/note/delete/106268/useless
Del: bad code -- https://master.php.net/note/delete/106268/bad+code
Del: spam -- https://master.php.net/note/delete/106268/spam
Del: non-english -- https://master.php.net/note/delete/106268/non-english
Del: in docs -- https://master.php.net/note/delete/106268/in+docs
Del: other reasons-- https://master.php.net/note/delete/106268
Reject -- https://master.php.net/note/reject/106268
Search -- https://master.php.net/manage/user-notes.php