note 81514 deleted from function.flock by danbrown
| From: | danbrown@php.net | Date: | Mon, 18 May 2009 00:34:25 +0000 |
| Subject: | note 81514 deleted from function.flock by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155389@lists.php.net to get a copy of this message | ||
Note Submitter: admin at ifyowantblood dot de
----
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).