For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > November 2004 > cvs: phpdoc /en/reference/filesystem/functions flock.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/filesystem/functions flock.xml
Jakub Vrana

2004-11-29, 4:00 pm

vrana Sun Nov 28 06:38:36 2004 EDT

Modified files:
/phpdoc/en/reference/filesystem/functions flock.xml
Log:
fclose() releases the lock (bug #30600)

http://cvs.php.net/diff.php/phpdoc/...10&r2=1.11&ty=u
Index: phpdoc/en/reference/filesystem/functions/flock.xml
diff -u phpdoc/en/reference/filesystem/functions/flock.xml:1.10 phpdoc/en/reference/filesystem/functions/flock.xml:1.11
--- phpdoc/en/reference/filesystem/functions/flock.xml:1.10 Wed Nov 10 03:30:29 2004
+++ phpdoc/en/reference/filesystem/functions/flock.xml Sun Nov 28 06:38:36 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.flock">
<refnamediv>
@@ -67,7 +67,8 @@
reader/writer model which can be used on virtually every platform
(including most Unix derivatives and even Windows). The optional third
argument is set to &true; if the lock would block (EWOULDBLOCK
- errno condition)
+ errno condition). The lock is released also by <function>fclose</function>
+ (which is also called automatically when script finished).
</simpara>
<simpara>
&return.success;
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com