From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 28 Oct 2011 02:59:14 -0700 From: Anthony Martin To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20111028095914.GA17766@dinah> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: lucio@proxima.alt.za Subject: Re: [9fans] nanosleep()? Topicbox-Message-UUID: 3b8f90c4-ead7-11e9-9d60-3106f5b1d025 ron minnich once said: > For a first pass, you could create a nanosleep for plan 9 > that rounds to milliseconds and then use sleep() Yup. This is the right thing to do. The prof command in the Go distribution has a minimum sampling interval of one millisecond so you don't even need nanosleep. Anthony