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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"