Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2012 09:48:13 +0400
From:      Andrey Zonov <andrey@zonov.org>
To:        Konstantin Belousov <kib@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r232239 - head/contrib/top
Message-ID:  <4F4C6A9D.9060508@zonov.org>
In-Reply-To: <201202272052.q1RKqKnl036547@svn.freebsd.org>
References:  <201202272052.q1RKqKnl036547@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 28.02.2012 0:52, Konstantin Belousov wrote:
> Author: kib
> Date: Mon Feb 27 20:52:20 2012
> New Revision: 232239
> URL: http://svn.freebsd.org/changeset/base/232239
>
> Log:
>    Fix a race in top non-interactive mode.  Use plain sleep(3) call instead
>    of arming timer and then pausing.  If SIGALRM is delivered before pause(3)
>    is entered, top hangs.
>
>    Submitted by:	Andrey Zonov<andrey zonov org>
>    MFC after:	1 week
>
> Modified:
>    head/contrib/top/top.c
>

Thanks a lot!

-- 
Andrey Zonov



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