Hello everyone,

Two applications share the same file. They execute Read/Write access on this file.

What I need is if an application is reading/writing this file, I want the next application to wait until the first application finishes processing the file.

Is there any way to do this ? I need to use something similar to Mutex/Semaphore to be applied on application scope.


Thank you in advance for your consideration.