R
Radu Spineanu
Hi,
I have two programs accessing the same file. Both programs open and
close the file multiple times while running (for example reading it
first, and then writing it back using global functions).
In order to avoid race conditions i was wondering if it's possible to
lock the file at the start of the running process and then unlock it at
the end. During that time the running process should be able to open and
close the file without problems.
Thanks,
Radu Spineanu
I have two programs accessing the same file. Both programs open and
close the file multiple times while running (for example reading it
first, and then writing it back using global functions).
In order to avoid race conditions i was wondering if it's possible to
lock the file at the start of the running process and then unlock it at
the end. During that time the running process should be able to open and
close the file without problems.
Thanks,
Radu Spineanu