delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
X-EIP: | [2gd8vhTWWS5FHhPg83oJE1fseTAGLLgE] |
Message-ID: | <BLU0-SMTP1255413DA9835192266D164CE230@phx.gbl> |
Date: | Tue, 1 Jan 2013 03:34:13 +0100 |
From: | Aaron Schneider <notstop2 AT users DOT sourceforge DOT net> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: sigprocmask issue |
References: | <50E22B6C DOT 5060409 AT redhat DOT com> <BLU0-SMTP151386F60E8F061F5F2328ACE230 AT phx DOT gbl> <50E234E7 DOT 20207 AT redhat DOT com> |
In-Reply-To: | <50E234E7.20207@redhat.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 01/01/2013 1:59, Eric Blake wrote: > Odd. I just noticed that my system is pegged at 100% CPU, attributed to > a syslogd process; wonder if severe load is the culprit that violates > the timing assumptions in that test. I killed that process, reran the > test, and no longer see the failure. > > I'm wondering if I should tweak the gnulib test to use fork() instead of > system(), and maybe do a bit more handshaking, to guarantee that the > signal is being delivered when planned? I've tried putting my system at 100% with some bat files ---------- @echo off :loop goto loop And putting them in realtime. I've experienced a crash if you hit Control+Z (pause) when you see "waiting" and the 'fg' machine AT VAIO ~/temp $ time ./a.exe running "sh -c 'sleep 1; kill -2 5856' &" waiting unblocking real 0m2.231s user 0m0.015s sys 0m0.092s machine AT VAIO ~/temp $ time ./a.exe running "sh -c 'sleep 1; kill -2 11832' &" waiting [1]+ Stopped ./a.exe real 0m0.890s user 0m0.000s sys 0m0.000s machine AT VAIO ~/temp $ fg ./a.exe unblocking assertion "sigint_occurred == 1" failed: file "eh.c", line 56, function: main sh: line 0: kill: (11832) - No such process Aborted (core dumped) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |