|
Posted by yawnmoth on 11/04/07 00:29
On Oct 31, 8:21 pm, ljb <lba...@pobox.delete.this.com> wrote:
> terra1...@yahoo.com wrote:
> <snip>
>
> The PHP manual says that flock is advisory, except on Windows where it
> is mandatory. Advisory locks only apply among processes that agree to use
> them, so just doing file_get_contents would not be affected. Mandatory
> locks mean no other process can violate the lock, regardless of how it
> tries to access the file. flock() itself will block to acquire a lock by
> default, but I have no idea if other functions like file_get_contents would
> (in a mandatory locking environment). I suspect they would just fail.
Thanks!
Navigation:
[Reply to this message]
|