>> The main problem appears to be that instead of taking a different 
>> branch
>> if open() or flock() fails you continue on as if they had succeeded.

flock($fh,LOCK_EX ) is a blocking call, so it won't return until the 
lock is available.


// George Schlossnagle
// Principal Consultant
// OmniTI, Inc          http://www.omniti.com
// (c) 240.460.5234   (e) [EMAIL PROTECTED]
// 1024D/1100A5A0  1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to