in reply to Re: A continually running process
in thread A continually running process

Getting Glib installed on Win32 just to obtain a timer would be most perverse.

All windows programs have message loop accessible and therefore, an event loop and timers, along with a whole plethora of other waitable timers and synchronisation mechanisms.

Suggesting Glib or Tk in order to avoid disabling buffering on STDOUT is, well, let's just say: overkill.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

Replies are listed 'Best First'.
Re^3: A continually running process
by zentara (Cardinal) on Jun 26, 2008 at 18:22 UTC
    Well you are probably right, however my point was to make becca23 aware of the benefit of using timers rather than sleep..... where or how she gets the timer makes no matter to me. Timers alllow program expansion and/or control, which sleep precludes.

    I'm not really a human, but I play one on earth CandyGram for Mongo