100 ms delay function needed

Phil phil at spiderweb.com.au
Mon Aug 27 07:55:22 BST 2001


On Mon, 27 Aug 2001 11:09, you wrote:
> On Saturday 25 August 2001 02:25 am, you wrote:
> > Hello all,
> >
> > I know that this request really has nothing directly to do with kdevelop
> > however someone may be kind enough to reply anyway.
> >
> > I need a function that will give me a 100ms delay, something like sleep.
> > An accuracy of plus and minus 20 ms would be OK.
>
> What is wrong with sleep? You can always write one. Count ticks.

AFAIK the sleep() parameter is in whole seconds, not part there of.

Counting ticks sounds more promising, how do I do that?

-- 
Regards,
Phil
phil at spiderweb.com.au


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list