|
From: Ethan M. <merritt@u.washington.edu> - 2005-01-06 00:46:29
|
On Tuesday 04 January 2005 02:50 pm, Jacques Bouchard wrote: > > > > File wait_for_End would contain two lines: > > pause -1 > > if (!DONE) reread > > That fits exactly my need. I am glad to hear that it works for your application. It is a bit ugly, however, since it burns a lot of CPU cycles in that wait loop (the "pause -1" returns immediately, as you already know, and so the loop is very tight). I hope someone can think of a better way. > Nice thing to write in a gnuplot HOWTO. One thing at a time. I think there is more work to do on this patchset before it is ready for documentation and inclusion in the main source tree. I do not understand the details of what goes wrong with the "pause" command in your example, and without understanding it is hard to develop a fix. -- Ethan A Merritt merritt@u.washington.edu Biomolecular Structure Center Mailstop 357742 University of Washington, Seattle, WA 98195 |