Re: svn commit: r232239 - head/contrib/top

2012-02-27 Thread Andrey Zonov
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 de

svn commit: r232239 - head/contrib/top

2012-02-27 Thread Konstantin Belousov
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.