Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2013 00:35:36 +0200
From:      Jilles Tjoelker <jilles@stack.nl>
To:        Eitan Adler <eadler@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r251078 - head/bin/sleep
Message-ID:  <20130529223535.GA11142@stack.nl>
In-Reply-To: <CAF6rxgniA4zD%2BacG41_xrqNd4wmNxRcNGbXX084XxoowisgY0g@mail.gmail.com>
References:  <201305282207.r4SM7We8065840@svn.freebsd.org> <CAF6rxgniA4zD%2BacG41_xrqNd4wmNxRcNGbXX084XxoowisgY0g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 29, 2013 at 01:32:05AM +0200, Eitan Adler wrote:
> On 29 May 2013 00:07, Jilles Tjoelker <jilles@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



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