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