RE: FW: [PHP] - REPOST - Flock manual clarification please ;-)

2002-04-07 Thread Matt Friedman
ssage- From: Jim Winstead [mailto:[EMAIL PROTECTED]] Sent: Sunday April 7, 2002 8:27 PM To: [EMAIL PROTECTED] Subject: Re: FW: [PHP] - REPOST - Flock manual clarification please ;-) Matt Friedman <[EMAIL PROTECTED]> wrote: > In regards to the above, under what circumstances might yo

Re: FW: [PHP] - REPOST - Flock manual clarification please ;-)

2002-04-07 Thread Jim Winstead
Matt Friedman <[EMAIL PROTECTED]> wrote: > In regards to the above, under what circumstances might you have > to create a separate lock file? Is this an OS issue? Is it an issue when > concurrency is high? The manual says "you may have to"; I am looking for > some clarification as to when exactly

FW: [PHP] - REPOST - Flock manual clarification please ;-)

2002-04-07 Thread Matt Friedman
>From the manual: Note: Because flock() requires a file pointer, you may have to use a special lock file to protect access to a file that you intend to truncate by opening it in write mode (with a "w" or "w+" argument to fopen()). The manual indicates that you "may" need to use "a special loc