From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Concurrency, again Date: Wed, 26 Oct 2016 01:28:49 +0300 Message-ID: References: <87wq97i78i.fsf@earlgrey.lan> <86k2dk77w6.fsf@molnjunk.nocrew.org> <9D64B8EA-DB52-413D-AE6A-264416C391F3@iotcl.com> <83int1g0s5.fsf@gnu.org> <83twckekqq.fsf@gnu.org> <83mvi9a3mh.fsf@gnu.org> <20161012165911.58437154@jabberwock.cb.piermont.com> <20161012173314.799d1dc5@jabberwock.cb.piermont.com> <8360owaj2s.fsf@gnu.org> <20161013092701.77461800@jabberwock.cb.piermont.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1477434565 801 195.159.176.226 (25 Oct 2016 22:29:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2016 22:29:25 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0 To: Philipp Stephani , Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 26 00:29:21 2016 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 1bzADd-0007cV-Qj for ged-emacs-devel@m.gmane.org; Wed, 26 Oct 2016 00:29:17 +0200 Original-Received: from localhost ([::1]:58530 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzADg-0004rz-6u for ged-emacs-devel@m.gmane.org; Tue, 25 Oct 2016 18:29:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzADK-0004hg-T8 for emacs-devel@gnu.org; Tue, 25 Oct 2016 18:28:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzADF-0006Ui-WD for emacs-devel@gnu.org; Tue, 25 Oct 2016 18:28:58 -0400 Original-Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:37283) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzADF-0006Ua-PN for emacs-devel@gnu.org; Tue, 25 Oct 2016 18:28:53 -0400 Original-Received: by mail-wm0-x232.google.com with SMTP id c78so50607451wme.0 for ; Tue, 25 Oct 2016 15:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=6sKZW1XiRncnzR1N6rov4dCRI9r3MOzCjr4uWx/16LE=; b=aA4N9Zui6e5n1OUz9V4BwZ5lgS3p372lubGOoN1JThUA8R6s0JJA8f1D3utWaVmZOY Xoka/DA6HIG9Lp08opEgqq8Ws5BVCGCBJXYHyiSwS7SBmIwtow8+N8egPW2myW2Pl+ro YON6QIVQCHkpeVlSHM/NRuRMI+l3PPzomqrJSR6sOk4e5ewXsJ6KRJ3CIkN+BVBk5oZw IO+oHpDGBKvTLsH+3aaYd79StedipIDoIjuVx0ZLf56oN7IzFAvU8Mqg/W36afFdy3J8 udfRLeAiSJWSJxpY4SO6uh8j1X4TBWkXwtXzWoJqD+TgO/NQ4KTOrKlqlK/uDneFx4BI 5t8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=6sKZW1XiRncnzR1N6rov4dCRI9r3MOzCjr4uWx/16LE=; b=NQytJaDmbAeAr8qqFR3CUCQWpmNb0ND5sjDK2Lmjkpn8JYNaHOvNPbZIxAcYtKjy8I Ih1B6HKeMHKel/nborkvKBc53r2xhZY+uDdC1SkQwtUXI8iFovgLXmdOSMugm/CqST7p 5JmsGf2o0niJWTm1wuGHvWMuNeFzFGkGIYFtlNoZYtfMMU7/VWee/HkPy+/X+NKWSoB5 M3ZiwIb/BVAQDsxxeIwvCiXbo3iUaS9KqIs8l+xKRthOIg7n+gGS7t32iXY9Hxkrz7Fo XDPbVUxvqdKnjEfh2RNKGNcKU1TqI1bYId/f+/qyqQuvoNLqcfz4mwBZNNKrivACc82c Yr8w== X-Gm-Message-State: ABUngvfKoBOedXPB5l7cYg2/tWLINO+y/mzbZGOZUOK9jlD/4d15i6JA8sRkxuNDF5IOPg== X-Received: by 10.194.235.34 with SMTP id uj2mr17534378wjc.144.1477434532463; Tue, 25 Oct 2016 15:28:52 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.173.41]) by smtp.googlemail.com with ESMTPSA id a2sm27425991wjn.10.2016.10.25.15.28.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Oct 2016 15:28:51 -0700 (PDT) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::232 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:208807 Archived-At: On 25.10.2016 16:34, Philipp Stephani wrote: > I'd suggest to adapt the terminology accordingly: "thread" *can* of > course mean "cooperative userland thread", but for most programmers it > has come to mean "OS-level parallel thread with preemptive kernel-level > scheduling". Should we avoid this term and use "coroutine" instead? Or "fiber" [0], which might be more familiar to at least some Ruby, D and .NET programmers [1]. [0] https://en.wikipedia.org/wiki/Fiber_(computer_science) [1] https://en.wikipedia.org/wiki/Coroutine#Implementation_in_the_.NET_Framework_as_fibers