How to lock a file but non-blocking in linux and windows?
<p>Is there a way can be lock a file but non-blocking?</p>

<p>Must be able to support linux and windows?</p>

<p>and how can I know a file is lock or not?</p>

<p>I have been read flock() in php.net, </p>

<p>I want to know the LOCK_NB does not support windows? </p>

<p>but I tried to LOCK_NB in win8 it is working fine, </p>

<p>I not sure why php.net say not support windows?</p>
