From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Creating a separate GUI thread for NS Date: Mon, 29 Jan 2018 19:56:21 +0200 Message-ID: <83zi4wh7lm.fsf@gnu.org> References: <20180127111457.GA66552@breton.holly.idiocy.org> <83h8r7k03k.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1517249122 5125 195.159.176.226 (29 Jan 2018 18:05:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 Jan 2018 18:05:22 +0000 (UTC) Cc: alan@idiocy.org, emacs-devel@gnu.org To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 29 19:05:18 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egDnX-0007vL-7X for ged-emacs-devel@m.gmane.org; Mon, 29 Jan 2018 19:04:51 +0100 Original-Received: from localhost ([::1]:54548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egDpY-0008TO-0G for ged-emacs-devel@m.gmane.org; Mon, 29 Jan 2018 13:06:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egDfF-0000jN-CX for emacs-devel@gnu.org; Mon, 29 Jan 2018 12:56:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egDfB-00058C-HL for emacs-devel@gnu.org; Mon, 29 Jan 2018 12:56:17 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egDfB-00057v-E0; Mon, 29 Jan 2018 12:56:13 -0500 Original-Received: from [176.228.60.248] (port=1900 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1egDfA-0006rI-OT; Mon, 29 Jan 2018 12:56:13 -0500 In-reply-to: (message from Philipp Stephani on Sun, 28 Jan 2018 17:00:53 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:222296 Archived-At: > From: Philipp Stephani > Date: Sun, 28 Jan 2018 17:00:53 +0000 > Cc: Alan Third , emacs-devel@gnu.org > > Could we switch signal processing to a simpler model, such as a background thread and sigwait? How would that work with C-g on TTYs, which generates SIGINT, and should eventually cause a longjmp to top level? Same question regarding SIGIO, which is used on X-based systems for input.