On 12/21/06, Nico Heinze <[EMAIL PROTECTED]> wrote:
> > You can't. You should use timer functions for this, like the
> > POSIX functions sleep, alarm, etc. If you are using Win32,
> > there are equivalent functions, I am sure (I don't know what
> > they are), refer to the documentation for your compiler
> >
> > -- Brett
>
> On POSIX conformant systems, there's a system call named "usleep()"
> which takes a number of microseconds as its parameter and has the
> process sleep (at least) the given amount of time.
>
> Unfortunately Windows doesn't offer this function; here you will have
> to set up a timer which will notify your application via the usual
> message queue as soon as the timer has expired.
Of course, one could use MinGW on Windows and get access to those
POSIX functions. :-)
-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi