From owner-freebsd-smp Sun Apr 5 01:51:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA23431 for freebsd-smp-outgoing; Sun, 5 Apr 1998 01:51:34 -0800 (PST) (envelope-from owner-freebsd-smp@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA23424; Sun, 5 Apr 1998 01:51:23 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.8.8/8.8.8/Spinner) with ESMTP id RAA08764; Sun, 5 Apr 1998 17:51:12 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199804050951.RAA08764@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: Bruce Evans cc: smp@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: more SMP stuff In-reply-to: Your message of "Sun, 05 Apr 1998 19:03:15 +1000." <199804050903.TAA30092@godzilla.zeta.org.au> Date: Sun, 05 Apr 1998 17:51:11 +0800 From: Peter Wemm Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Bruce Evans wrote: > I wrote: > >nanosleep() is currently quite broken: > >- EWOULDBLOCK is returned instead of 0 in most cases when the timeout > > expires. > > Fixed by Peter. > > >- EWOULDBLOCK is returned instead of EINTR if an interrupt occurs and > > syscalls are not being restarted after this interrupt. > > Actually, nanosleep() doesn't return in this case. I was using your diff to nanosleep, but a 1 second sleep started taking 724 seconds.... Perhaps it was the nanotime() twiddle I was trying.. > Bruce > Cheers, -Peter -- Peter Wemm Netplex Consulting To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message