Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!crdgw1!montnaro From: montnaro@spyder.crd.ge.com (Skip Montanaro) Newsgroups: comp.emacs Subject: Re: sleep-for milli-seconds Message-ID: Date: 9 Apr 90 20:48:18 GMT References: <9004091446.AA02335@life.ai.mit.edu> <54666@bbn.COM> Sender: news@crdgw1.crd.ge.com Reply-To: montanaro@crdgw1.ge.com (Skip Montanaro) Organization: GE Corporate Research & Development, Schenectady, NY Lines: 19 In-reply-to: jr@bbn.com's message of 9 Apr 90 20:29:08 GMT usleep() can be faked with select(). Something like (from off the top of my head - don't blame me if it's broken :-): int usleep(useconds) long useconds; /* microseconds */ { struct timeval t; t.tv_sec = 0; t.tv_usec = useconds; return select(0, 0, 0, 0, &t); } -- Skip (montanaro@crdgw1.ge.com)