svn commit: r251078 - head/bin/sleep

Jilles Tjoelker jilles at stack.nl
Wed May 29 22:35:37 UTC 2013


On Wed, May 29, 2013 at 01:32:05AM +0200, Eitan Adler wrote:
> On 29 May 2013 00:07, Jilles Tjoelker <jilles at freebsd.org> wrote:
> > Author: jilles
> > Date: Tue May 28 22:07:31 2013
> > New Revision: 251078
> > URL: http://svnweb.freebsd.org/changeset/base/251078

> > Log:
> >   sleep: Improve nanosleep() error handling:

> >    * Work around kernel bugs that cause a spurious [EINTR] return if a
> >      debugger (such as truss(1)) is attached.

> The the fact that this is a workaround be noted in a comment so the
> code may be removed when the bug is fixed?

Good point. I will add a comment soon.

I do not expect a complete fix for the kernel bug soon, though.

-- 
Jilles Tjoelker


More information about the svn-src-all mailing list