From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 27 Nov 2012 18:19:00 -0500 To: 9fans@9fans.net Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] sleep(2) historical question Topicbox-Message-UUID: e6fc014a-ead7-11e9-9d60-3106f5b1d025 why is sleep(2) limited in resolution to HZ in the portable code? the underlying mechanism is often much finer grained than HZ, and if there is a limit, one would think that it's related to the hardware mechanism, not the HZ clock. i'm clearly missing something. - erik