How to avoid read/write conflicts ?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

How to avoid read/write conflicts ?

This post has NOT been accepted by the mailing list yet.

A datalogging program writes every second new data in a .csv file.
I'm trying to refresh my gnuplot graph with the same frequency: once per second:

while (1) {pause 1 ; replot}

But apparently Gnuplot stops reading when both programs are accessing the datafile simultaneously.
How can I avoid this ?