100 ms delay function needed

Ralf Nolden nolden at kde.org
Mon Aug 27 08:27:57 BST 2001


On Montag, 27. August 2001 03: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.
When using Qt, you can go with QTimer::singleShot which gives you what you 
want.

Ralf

-- 
We're not a company, we just produce better code at less costs.
--------------------------------------------------------------------
Ralf Nolden
nolden at kde.org

The K Desktop Environment	The KDevelop Project
http://www.kde.org		http://www.kdevelop.org


-
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