From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: "concurrency" branch updated Date: Fri, 06 Nov 2015 07:58:45 -0700 Message-ID: <8737wj18ey.fsf@tromey.com> References: <1B30AC54-4A83-4437-8BA8-B80F4ED6AF1A@raeburn.org> <831tc7vyex.fsf@gnu.org> <87io5g15mn.fsf@tromey.com> <83h9kzsgn7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1446821970 6280 80.91.229.3 (6 Nov 2015 14:59:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Nov 2015 14:59:30 +0000 (UTC) Cc: johnw@newartisans.com, Tom Tromey , raeburn@raeburn.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 06 15:59:15 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZuiTx-0006r6-9U for ged-emacs-devel@m.gmane.org; Fri, 06 Nov 2015 15:59:13 +0100 Original-Received: from localhost ([::1]:39214 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuiTw-00068H-Rt for ged-emacs-devel@m.gmane.org; Fri, 06 Nov 2015 09:59:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuiTt-00068C-Hs for emacs-devel@gnu.org; Fri, 06 Nov 2015 09:59:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZuiTo-0006Zq-IU for emacs-devel@gnu.org; Fri, 06 Nov 2015 09:59:09 -0500 Original-Received: from gproxy6-pub.mail.unifiedlayer.com ([67.222.39.168]:35553) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ZuiTo-0006ZR-9r for emacs-devel@gnu.org; Fri, 06 Nov 2015 09:59:04 -0500 Original-Received: (qmail 16253 invoked by uid 0); 6 Nov 2015 14:58:59 -0000 Original-Received: from unknown (HELO CMOut01) (10.0.90.82) by gproxy6.mail.unifiedlayer.com with SMTP; 6 Nov 2015 14:58:59 -0000 Original-Received: from box522.bluehost.com ([74.220.219.122]) by CMOut01 with id eEyn1r00U2f2jeq01Eyq0W; Fri, 06 Nov 2015 07:58:58 -0700 X-Authority-Analysis: v=2.1 cv=VOBOwb/X c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=zstS-IiYAAAA:8 a=PnD2wP_eR3oA:10 a=q5Y1GWT81MIA:10 a=qtqOOiqGOCEA:10 a=eMNAIgu3daC8KZNx7iwA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=UnsYJfhv1j68C8PwdrcqMkWyx3KrBYUVihruF5CC1hk=; b=l/6TeE5FhaPqQlaNWmDhKWJebqWXg1o8tWX2LPl7h06+yn93h5j2Z7ORPRn22yu8KKORXdxA7NlnBwjkf4DSkrMtVyZ0IjssIlf9ebIS0inRYbrYMtpPhA+g3nAohQ3t; Original-Received: from [174.16.156.173] (port=36626 helo=pokyo) by box522.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1ZuiTY-00070g-Ot; Fri, 06 Nov 2015 07:58:48 -0700 X-Attribution: Tom In-Reply-To: <83h9kzsgn7.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 06 Nov 2015 09:58:52 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Identified-User: {36111:box522.bluehost.com:elynrobi:tromey.com} {sentby:smtp auth 174.16.156.173 authed with tom+tromey.com} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 67.222.39.168 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:193420 Archived-At: >> One idea would be to make it so that each terminal runs in its own >> thread. Eli> By "terminal" do you mean X display? If so, the w32 port already does Eli> something like that: it reads system input messages, including Eli> keyboard input and all the rest, in a separate thread, which feeds the Eli> queue serviced by the read_socket hook. Yeah, basically each thing with its own conceptual input queue; so each X connection but also each tty frame. Tom