I have two threads that need to access the one file. One writes to it and one needs to move the file (esentially delete the file from its current location and archive in a different directory).
Although I havent seen it happen it would be possible that one thread is attempting to write while the other thread is trying to move the file.
Ideas?
Thanks in advance.
Although I havent seen it happen it would be possible that one thread is attempting to write while the other thread is trying to move the file.
Ideas?
Thanks in advance.