Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_linux_programming thread: millisecond sleep / delay


Message #1 by "james greaves" <jamesg@r...> on Thu, 14 Nov 2002 19:40:26
James,
If you're using gcc, then the library has a "nanosleep" function which is probably what
you're looking for.  Check the libc documentation.

Good Luck.

By the way, do you have any relatives in the Boston MA area?

james greaves wrote:

> I need to implement sleep / delay with millisecond accuracy in linux user-
> space.  what is the best way to do this

--

Paul A. Valente
The MITRE Corp.
202 Burlington Rd, M/S 1618A
Bedford, MA 01730-1420
Office:  xxx.xxx.xxxx
Fax:  xxx.xxx.xxxx  or 6712




  Return to Index