Resource conflict
Hi,
I have a program in which two threads, reading from the same file, run asynchronously. The problem is that sometime the two processes try to read the file together, so is thrown an exception. I think I need something like a semaphore, a flag telling us whether the file is busy or not.
Can you help me?

