note 81514 added to function.flock
| From: | admin at ifyowantblood dot de | Date: | Sun, 02 Mar 2008 04:41:37 +0000 |
| Subject: | note 81514 added to function.flock | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-136653@lists.php.net to get a copy of this message | ||
i just read:
>>>>> Note: flock() locks mandatory under Windows.
So flock() really locks the file under windows. this means under windows its better to rely on
flock() than to rename a temporary file (because in order to rename a file under windows you have to
close the file - and closing it means unlocking it).
----
Server IP: 212.124.37.9
Probable Submitter: 84.166.13.160
----
Manual Page -- http://www.php.net/manual/en/function.flock.php
Edit -- https://master.php.net/note/edit/81514
Del: integrated -- https://master.php.net/note/delete/81514/integrated
Del: useless -- https://master.php.net/note/delete/81514/useless
Del: bad code -- https://master.php.net/note/delete/81514/bad+code
Del: spam -- https://master.php.net/note/delete/81514/spam
Del: non-english -- https://master.php.net/note/delete/81514/non-english
Del: in docs -- https://master.php.net/note/delete/81514/in+docs
Del: other reasons-- https://master.php.net/note/delete/81514
Reject -- https://master.php.net/note/reject/81514
Search -- https://master.php.net/manage/user-notes.php