Sorry, this is the first I hear method "flock()". Is there such a function in Java? Would you please give me further information or just let me know what you want to do?
Re #15734: how to lock a file in Java? I mean how java provide flock()?