Reply to Re: flock and blocking

Your name:

Reply:


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!

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация