I'm developing a collaborative application in PHP which accesses
local files and may modify them. How can I synchronize the multiple
accesses? Note that I'm not worried about the algorithmic part of the
problem, or how to avoid conflicts, which I know how to solve; I just
need a few atomic primitive shared among any PHP processes that may be
running. I could even have a separate process serializing all operations
if such a thing is possible. flock() seems to be too limited for my needs.
Thanks a lot,
--
Bruno Barberi Gnecco <brunobg_at_users.sourceforge.net>
http://www.lsi.usp.br/~brunobg/