[prev in list] [next in list] [prev in thread] [next in thread]
List: gnuplot-info-beta
Subject: Re: suggestion
From: "Petr Mikulik" <mikulik () physics ! muni ! cz>
Date: 2000-03-16 8:04:17
[Download RAW message or body]
>> hello, the command pause could works with real numbers in order to
>> animate frames in intervals of 0.1 seconds, this is very important for
>> my purpose that is simulation in physics,
>In principle, it might do that, but there's an implementation problem: we
>would need a solution for pausing for less than one seconds that works
>reliably and portably on many platforms (all Unixes, DOS, Atari, Windows,
>OS/2, to name some), and such a beast has long since been known by the C
>gurus not to exist.
>OTOH, if you really consider this missing feature to be an outright bug,
>you've named yourself as the perfect volunteer to code it and contribute
>the changes, for the benefit of others... :-)
What about adding a function msleep(miliseconds) or usleep(microseconds)?
Linux has usleep(), OS/2 has msleep which is called _sleep2() in EMX. If
such sleep is not avail on a given platform, then use
sleep(int(0.5+time)).
Something with command.c: GP_SLEEP(sleep_time); #defined in stdfn.h ...
Easy to do?
---
Petr Mikulik, mikulik@physics.muni.cz
[[[[ unsubscribe from info-gnuplot-beta via majordomo@dartmouth.edu ]]]]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic