Re: [PHP-LANG] Locking files with PHP

[email protected] (Hartmut Holzgraefe)
Newsgroups php.lang
Organization Six Offene Systeme GmbH
Message-ID <[email protected]>
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  [email protected]  http://www.six.de  +49-711-99091-77
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.