Re: Locking files with PHP
| From: | Hartmut Holzgraefe | Date: | Tue, 15 May 2001 08:15:47 +0000 |
| Subject: | Re: Locking files with PHP | ||
| References: | 1 2 | Groups: | php.lang |
| Request: | Send a blank email to php-lang+get-158@lists.php.net to get a copy of this message | ||
Zef Hemel wrote:
>
> http://php.net/flock
>
but take care to read the note about multithreaded server APIs
the current implementation of flock() does *not* work within
multithreaded APIs as flock() is implemented as a direct call to the C
library function of the same name and both Unix and Windows manage
file locking only at the process- but not the tread-level
--
Hartmut Holzgraefe hartmut@six.de http://www.six.de
+49-711-99091-77