Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Apr 1998 17:51:11 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        smp@FreeBSD.ORG, phk@FreeBSD.ORG
Subject:   Re: more SMP stuff 
Message-ID:  <199804050951.RAA08764@spinner.netplex.com.au>
In-Reply-To: Your message of "Sun, 05 Apr 1998 19:03:15 %2B1000." <199804050903.TAA30092@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
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 <peter@netplex.com.au>   Netplex Consulting



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804050951.RAA08764>