note 94682 added to function.flock
| From: | shelby at coolpage dot com | Date: | Wed, 18 Nov 2009 13:10:43 +0000 |
| Subject: | note 94682 added to function.flock | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-163022@lists.php.net to get a copy of this message | ||
I have filed a documentation bug report, and I think it needs to be linked here until this manual
page is fixed:
http://bugs.php.net/bug.php?id=50218
(has reference links not included below)
Summary of issues detailed at above link:
* LOCK_NB does work on Windows, only the wouldblock
argument is not supported.
* LOCK_NB option may be combined with the other LOCK_* options, which may not be combined with each
other.
* May be used with NFS because implementation uses fcntl.
* Locking is mandatory in some cases in addition to Windows.
* OS with Posix.1 compliant fcntl will release all a scripts' flock()s on a file, if that same
script fclose() any file hande on that file.
* Do not confuse the LOCK_* values (1,2,3,4) input to this function, with the LOCK_* OS values
(1,2,4,8), even though their semantics are similar.
----
Server IP: 69.147.83.197
Probable Submitter: 121.97.54.2 (proxied: 121.97.54.144)
----
Manual Page -- http://www.php.net/manual/en/function.flock.php
Edit -- https://master.php.net/note/edit/94682
Del: integrated -- https://master.php.net/note/delete/94682/integrated
Del: useless -- https://master.php.net/note/delete/94682/useless
Del: bad code -- https://master.php.net/note/delete/94682/bad+code
Del: spam -- https://master.php.net/note/delete/94682/spam
Del: non-english -- https://master.php.net/note/delete/94682/non-english
Del: in docs -- https://master.php.net/note/delete/94682/in+docs
Del: other reasons-- https://master.php.net/note/delete/94682
Reject -- https://master.php.net/note/reject/94682
Search -- https://master.php.net/manage/user-notes.php