I have a threaded program that one thread is reading file stats and another thread is comparing them. I have a need to modify the time stamp on a file before I close it. If I close the file then change the time stamp on the file I could wind up in a race condition that I can not deal with.
So the question is: Is is possible to create a new file, write into it, modify the time stamp giving it a older update time then close the file? TIA mike
