Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-23-2004, 06:02 AM   #1
LQ Newbie
Registered: Mar 2004
Posts: 7

Rep: Reputation: 0
Question How do sleep under 20 ms in Linux?

The Linux function usleep, cannot sleep under 20 ms. My program needs to sleep arounds 200 microsec. How do I work around this?

FAQ: RedHat 9
Old 04-23-2004, 07:03 AM   #2
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,240

Rep: Reputation: 60
this handles fractional seconds ok. you might try it.

sorry i misread your question.

Last edited by whansard; 04-23-2004 at 07:07 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Searching for Server (BOOTP/DHCP) <sleep> <sleep> .. .. Eileen Linux - Networking 12 10-21-2005 02:14 AM
Linux Sleep Mode? RynoFly Linux - Newbie 1 01-17-2005 02:21 AM
linux sleep() bobbens Programming 5 01-15-2005 01:48 PM
Linux Won't Recover after Sleep lramos85 Linux - Laptop and Netbook 0 05-15-2004 01:23 AM
Linux C : A better way to sleep/timer? jimmy416 Programming 8 10-14-2003 01:58 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration