I am working on a multithreaded system where a file can be shared among different threads based on the file access permissions . How can I check if file is already opened by another thread. Thanks in advanceI am working on a multithreaded system where a