cvs: phpdoc /en/functions filesystem.xml

From: Date: Thu, 19 Oct 2000 13:11:07 +0000
Subject: cvs: phpdoc /en/functions filesystem.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969332554@lists.php.net to get a copy of this message
hholzgra Thu Oct 19 06:11:07 2000 EDT Modified files: /phpdoc/en/functions filesystem.xml Log: added a warning about using flock() in multithreaded environments (taken from a thread on the german PHP mailing list) Index: phpdoc/en/functions/filesystem.xml diff -u phpdoc/en/functions/filesystem.xml:1.41 phpdoc/en/functions/filesystem.xml:1.42 --- phpdoc/en/functions/filesystem.xml:1.41 Sun Oct 1 16:12:15 2000 +++ phpdoc/en/functions/filesystem.xml Thu Oct 19 06:11:07 2000 @@ -998,6 +998,15 @@ <function>Flock</function> returns true on success and false on error (e.g. when a lock could not be acquired). </simpara> + <warning> + <para> + On most operation systems <function>flock</function> is implemented + at the process level. When using a multithreaded server API like + ISAPI you cannot rely on <function>flock</function> to protect + files against other PHP scripts running in parallel threads of the + same server instance! + </para> + </warning> </refsect1> </refentry>

« previous php.doc (#969332554) next »