[comp.sys.sun] QUESTION: How to make user process sleep less than a second

Recognition_Concepts_Inc@cup.portal.com (11/08/89)

We need to have a user process sleep for less than 1 second.  I am using a
SUN 3/160 running SUN UNIX 4.0.3. I think the existing sleep gives you 1
second granularity. I need 1/100 second granularity.  Thanks for the help,

		Mark Demay, RCI
		5200 Convair Drive
		Carson City, NV 89706   ( 702 ) 882 - 7817

mitch@hq.af.mil (Mitchell..Wright) (11/21/89)

Recognition_Concepts_Inc@cup.portal.com writes:

>We need to have a user process sleep for less than 1 second.  I am using a
>SUN 3/160 running SUN UNIX 4.0.3. I think the existing sleep gives you 1
>second granularity. I need 1/100 second granularity.  Thanks for the help,
>
I don't have anything that will handle 100ths of a second, but I do have
something that works for units of sixtieths of a second.

Hope this helps...
 
Ed's Note: Placed in archives.
 
FTP:	Hostname : titan.rice.edu (128.42.30.1)
	Directory: sun-source
	Filename : nap.c

Archive Server Address: archive-server@rice.edu
Archive Server Command: send sun-source nap.c

--
Mitch Wright					Currently under contract to:
I-NET, Inc.					USAF 7th CG, The Pentagon
(202) 696-6056
			  mitch@hq.af.mil
			gretzky@unison.larc.nasa.gov