From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46494: 28.0.50; [native-comp] Problems with async background compile Date: Sat, 20 Feb 2021 18:54:32 +0200 Message-ID: <83a6ryznlj.fsf@gnu.org> References: <52dad420-fd72-fe1c-6f74-f4c114a2deb8@gmail.com> <83sg5ybr95.fsf@gnu.org> <834ki710ug.fsf@gnu.org> <868s7jym8t.fsf@gmail.com> <83wnv2zypz.fsf@gnu.org> <864ki68zg9.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34931"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46494@debbugs.gnu.org To: Andy Moreton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 20 17:55:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lDVXB-00091W-Aw for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Feb 2021 17:55:09 +0100 Original-Received: from localhost ([::1]:53018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDVXA-0002tA-Cu for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Feb 2021 11:55:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDVX4-0002sr-BQ for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2021 11:55:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41168) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDVX4-00040i-4X for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2021 11:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDVX4-0006MV-3j for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2021 11:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Feb 2021 16:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46494 X-GNU-PR-Package: emacs Original-Received: via spool by 46494-submit@debbugs.gnu.org id=B46494.161384009424437 (code B ref 46494); Sat, 20 Feb 2021 16:55:02 +0000 Original-Received: (at 46494) by debbugs.gnu.org; 20 Feb 2021 16:54:54 +0000 Original-Received: from localhost ([127.0.0.1]:52714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDVWw-0006M5-Em for submit@debbugs.gnu.org; Sat, 20 Feb 2021 11:54:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDVWv-0006Lr-3Q for 46494@debbugs.gnu.org; Sat, 20 Feb 2021 11:54:53 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47140) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDVWp-0003uG-Rx; Sat, 20 Feb 2021 11:54:47 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4437 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lDVWp-0000HH-7P; Sat, 20 Feb 2021 11:54:47 -0500 In-Reply-To: <864ki68zg9.fsf@gmail.com> (message from Andy Moreton on Sat, 20 Feb 2021 16:40:38 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:200445 Archived-At: > From: Andy Moreton > Date: Sat, 20 Feb 2021 16:40:38 +0000 > > Using "(w32-start-process-share-console t)" with 'SIGHUP seemed to work > without triggering the abort dialog, and killing emacs with async > processes running also did, not trigger the aborts. Great, thanks for trying this. So at the very least we have a workaround, if not the solution. FTR, setting w32-start-process-share-console non-nil causes the subprocess to start a new process group, and sending SIGHUP to the inferior Emacs then kills it via the TerminateProcess API, whereas when w32-start-process-share-console is nil (the default), we try being nice, and send it the WM_CLOSE message.