delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/30/05:01:13

From: davecook AT home DOT com (David M. Cook)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: timing in u sec range
References: <36897C5A DOT F256B909 AT bellsouth DOT net>
Organization: http://www.kernel-panic.com/devel
Message-ID: <slrn78jru8.q3.davecook@sputnik.escnd1.sdca.home.com>
X-Newsreader: slrn (0.9.4.3 UNIX)
Lines: 9
Date: Wed, 30 Dec 1998 09:18:53 GMT
NNTP-Posting-Host: 24.0.189.179
X-Complaints-To: abuse AT home DOT net
X-Trace: news.rdc1.sdca.home.com 915009533 24.0.189.179 (Wed, 30 Dec 1998 01:18:53 PDT)
NNTP-Posting-Date: Wed, 30 Dec 1998 01:18:53 PDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 30 Dec 1998 01:06:50 GMT, Lester Davis <ringo1 AT bellsouth DOT net> wrote:

>is it possible to do timing in hundreds of micro seconds. I need to do
>something, wait 300 u secs then do something else.I'm using a 133 mhz
>pentium.

You can use usleep() in unistd.h.

Dave Cook

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019