Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Apr 1998 18:05:28 +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:  <199804051005.SAA08952@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.
> 
> Bruce

Hmm.. setitimer() and getitimer() are broken too, at least for ITIMER_REAL 
as alarm(0) isn't returning the real remaining value.

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?199804051005.SAA08952>