[pmwiki-users] Re function Lock($op)
Henrik Bechmann
henrik.bechmann at sympatico.ca
Wed Apr 23 10:51:10 CDT 2008
In Lock($op), I take it that the following statement blocks, ie *waits*
until successful, thus effectively creating a queue to write to files? True?
flock($lockfp,LOCK_EX);
I want to write a simple counter generator, with counters incrementing
in a file, so I need to prevent mult-user concurrent access.
Thanks,
- Henrik
--
Henrik Bechmann
www.bechmann.ca
Webmaster, www.dufferinpark.ca
More information about the pmwiki-users
mailing list