100 ms delay function needed

Juergen Suessmaier juergen at suessmaier.de
Mon Aug 27 08:20:54 BST 2001


Phil wrote:
> 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.
usleep() should do this job for you. For a more portable solution consider
using select() with no file descriptor selected.

Regards,
Juergen
-- 
-------------------------------------------------------------------------
J. Süßmaier Systementwicklungen
Jürgen Süßmaier
juergen at suessmaier.de                       Realtime Software Development
Katharina Geisler Str. 14                       Embedded Applications
D-85356 Freising                                     Automation
Germany
-------------------------------------------------------------------------
                      http://www.suessmaier.de
-------------------------------------------------------------------------
      The day Microsoft makes something that doesn't suck is
        probably the day they start making vacuum cleaners
-------------------------------------------------------------------------

-
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