Close file by the second after locking by the first, then try to read by the first (Applied)
Slave0: Create a file, open it for writing Slave1: Open file for reading Slave0: Write data in file, set a lock on it Slave1: Close file Slave0: Try to read data from file