DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4ANFfjeB849643 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4ANFfjeB849643 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=Hmyt/Ayt X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DACFB3858039 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1732376503; bh=53tXcPaiH1fekTyakrRBp2lctUcJGDJyThaFcQyJ40g=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=Hmyt/AytNNyWoKL1Ajy/7/zI/giXe441Vs7OYpvCeKxLWlfP/kae0wwdyzAeWiCme IDGoSseirYhg1VT/ds+JpNd9dGZclHcr+7BMPpV6tD+gQjtARZRLOxr0Z+xcnFY2vT abKIt4cgk5L/hzhZD/MBPs1oTh/KMQKya/hKEVb4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 894A63858C42 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 894A63858C42 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1732376479; cv=none; b=nE4AVzxKssT3T7x/Znx4g53u9BzX+nBZeixTINmMXCB1ibaUmSxT8z5ncZTCwW/Vd14vE8g95MS6vbNkYc7I53PTdKEvuEfAcz3TxUoHCIiYz4PpkpFI17fCB5I5MW0yii9+GIQGQJdImOEdP2Qa5G1bvlSEzFW1wE52lRMA7RM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1732376479; c=relaxed/simple; bh=eL6oSyao3O4WPVt0R6Y7XVRffMCMcK6bcVweV2J6L4Q=; h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature; b=ghG6ic2aImhPQAzopuhKBf9uw8iyZmFud0+LaaxaxBkUbDAMqAPTLeSM6sJLVPXuTc5yj0qczLblI9YZ2QbfccSppnFo2QEnEY2i6aK89rH06RneeNBIzc0Svz6Mjv7ZK26bDloZ0JVEf6/41BFzqrcMskWrTvPdWvx3EnE2gyg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 894A63858C42 Date: Sun, 24 Nov 2024 00:41:15 +0900 To: cygwin AT cygwin DOT com Subject: Re: SIGKILL may no longer work after many SIGCONT/SIGSTOP signals Message-Id: <20241124004115.31f0aa5337cd7b0386606277@nifty.ne.jp> In-Reply-To: <20241123205307.80e08e9669cd3e1ee72043a1@nifty.ne.jp> References: <20241119182152 DOT c2195f50ed7091fbed644606 AT nifty DOT ne DOT jp> <20241120224308 DOT 000a18e48c0b8926e82e5147 AT nifty DOT ne DOT jp> <20241123205307 DOT 80e08e9669cd3e1ee72043a1 AT nifty DOT ne DOT jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Sat, 23 Nov 2024 20:53:07 +0900 Takashi Yano wrote: > The patch attached almost solves the problem. However, your test > case is paused for tens of seconds, then ends normally. > > If the code: > cpu_set_t cpus; CPU_ZERO(&cpus); > CPU_SET(0, &cpus); > if (sched_setaffinity(getpid(), sizeof(cpus), &cpus)) > perror("setaffinity"); Maybe it's just slow because all processes are assigned to one CPU core. I feel like it's too late for that... -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple