From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.devel
Subject: Re: Concurrency, again
Date: Tue, 25 Oct 2016 19:25:08 +0300
Message-ID: <83h980wg4b.fsf@gnu.org>
References: <87wq97i78i.fsf@earlgrey.lan>
	<jwviokn4n6w.fsf-monnier+emacs@gnu.org>
	<86k2dk77w6.fsf@molnjunk.nocrew.org> <m2zimgw0i8.fsf@newartisans.com>
	<9D64B8EA-DB52-413D-AE6A-264416C391F3@iotcl.com>
	<83int1g0s5.fsf@gnu.org>
	<m2mvicx62q.fsf@newartisans.com> <83twckekqq.fsf@gnu.org>
	<CAArVCkRmF5B6bjwpj17HdMJXosdJeyLyvbAa5XPEiABP9Pqq0g@mail.gmail.com>
Reply-To: Eli Zaretskii <eliz@gnu.org>
NNTP-Posting-Host: blaine.gmane.org
X-Trace: blaine.gmane.org 1477412747 18192 195.159.176.226 (25 Oct 2016 16:25:47 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Tue, 25 Oct 2016 16:25:47 +0000 (UTC)
Cc: jwiegley@gmail.com, toon@iotcl.com, emacs-devel@gnu.org, lars@nocrew.org
To: Philipp Stephani <p.stephani2@gmail.com>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 25 18:25:43 2016
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1bz4Xj-0003Y6-74
	for ged-emacs-devel@m.gmane.org; Tue, 25 Oct 2016 18:25:39 +0200
Original-Received: from localhost ([::1]:56365 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1bz4Xl-0002aQ-79
	for ged-emacs-devel@m.gmane.org; Tue, 25 Oct 2016 12:25:41 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45656)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eliz@gnu.org>) id 1bz4Xd-0002Zc-8n
	for emacs-devel@gnu.org; Tue, 25 Oct 2016 12:25:34 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eliz@gnu.org>) id 1bz4Xa-00079T-4w
	for emacs-devel@gnu.org; Tue, 25 Oct 2016 12:25:33 -0400
Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46050)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@gnu.org>)
	id 1bz4Xa-00079P-1f; Tue, 25 Oct 2016 12:25:30 -0400
Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1389
	helo=home-c4e4a596f7)
	by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
	(Exim 4.82) (envelope-from <eliz@gnu.org>)
	id 1bz4XV-00033o-Oj; Tue, 25 Oct 2016 12:25:29 -0400
In-reply-to: <CAArVCkRmF5B6bjwpj17HdMJXosdJeyLyvbAa5XPEiABP9Pqq0g@mail.gmail.com>
	(message from Philipp Stephani on Tue, 25 Oct 2016 13:22:42 +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." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel/>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.devel:208781
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/208781>

> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Tue, 25 Oct 2016 13:22:42 +0000
> Cc: lars@nocrew.org, toon@iotcl.com, emacs-devel@gnu.org
> 
> We still have tons of global mutable state, e.g. the buffer list. Traditional OS-level multithreading is impossible
> with that amount of global state.

But we are not doing OS-level multithreading on the concurrency branch.

> On the other hand, non-parallel concurrency doesn't care about global state (which can just be swapped out)
> at all.

Which is what we do.