J
Junpei
problem: I have a program A that writes (overwrite) to a file 5
times/second (the results of a realtime calculation); i want several
other programs B through E to occasionally read that file to see what
the current results are (I only need the current results). how do i
keep the programs B to E from trying to read while program A is
writing? or is there a better solution than writing to a file? hoping
for an easy solution... i'm on linux.
thanks in advance,
Junpei
times/second (the results of a realtime calculation); i want several
other programs B through E to occasionally read that file to see what
the current results are (I only need the current results). how do i
keep the programs B to E from trying to read while program A is
writing? or is there a better solution than writing to a file? hoping
for an easy solution... i'm on linux.
thanks in advance,
Junpei