Try to set a write lock on a write lock for many times (Denied)
Slave0: Create a file, write data, close it Slave0: Open the file for read\write, set a write lock on all file entirely Slave1: Open the file for read\write In cycle: Slave0: Read one byte of data In cycle: Slave1: Try to set a write lock on the same peace of data( Denied) Slave1: Wait 0.0001sec |