From owner-freebsd-hackers Thu Jun 27 13:47:34 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA24011 for hackers-outgoing; Thu, 27 Jun 1996 13:47:34 -0700 (PDT) Received: from tombstone.sunrem.com (tombstone.sunrem.com [206.81.134.54]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA24006 for ; Thu, 27 Jun 1996 13:47:28 -0700 (PDT) Received: (from brandon@localhost) by tombstone.sunrem.com (8.6.12/8.6.12) id OAA00827; Thu, 27 Jun 1996 14:47:26 -0600 Date: Thu, 27 Jun 1996 14:47:26 -0600 (MDT) From: Brandon Gillespie To: freebsd-hackers@FreeBSD.ORG Subject: Re: portable microsecond sleeps In-Reply-To: <199606272015.NAA05677@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Thanks for the great comments, but after peering at the code again I realized the true problem. The developer wrote the code in Windows 95, and is porting it to the two unix servers--I suggested he use select, which he did, but being unfamiliar with the timeval structure he assumed tv_usec was milliseconds, the true problem was he was 'sleeping' with select for 500 microseconds. User Error :b -Brandon