From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: "concurrency" branch updated Date: Fri, 06 Nov 2015 10:37:11 +0200 Message-ID: <83egg3sevc.fsf@gnu.org> References: <1B30AC54-4A83-4437-8BA8-B80F4ED6AF1A@raeburn.org> <831tc7vyex.fsf@gnu.org> <6918D53A-8975-404B-B81B-88939244CE7B@raeburn.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1446799084 20042 80.91.229.3 (6 Nov 2015 08:38:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Nov 2015 08:38:04 +0000 (UTC) Cc: johnw@newartisans.com, raeburn@raeburn.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 06 09:37:48 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 1ZucWm-0007tm-Nk for ged-emacs-devel@m.gmane.org; Fri, 06 Nov 2015 09:37:44 +0100 Original-Received: from localhost ([::1]:37378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZucWl-0007Zm-QH for ged-emacs-devel@m.gmane.org; Fri, 06 Nov 2015 03:37:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZucWU-0007W4-Gx for emacs-devel@gnu.org; Fri, 06 Nov 2015 03:37:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZucWQ-0000tK-Gk for emacs-devel@gnu.org; Fri, 06 Nov 2015 03:37:26 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:51148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZucWQ-0000t3-9H; Fri, 06 Nov 2015 03:37:22 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NXD00700WY7CQ00@a-mtaout21.012.net.il>; Fri, 06 Nov 2015 10:37:20 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NXD007ITXA88H90@a-mtaout21.012.net.il>; Fri, 06 Nov 2015 10:37:20 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 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:193377 Archived-At: > From: Richard Stallman > CC: johnw@newartisans.com, eliz@gnu.org, emacs-devel@gnu.org > Date: Thu, 05 Nov 2015 17:46:29 -0500 > > > Any large computational task needs to be written to surrender control now and then, if it might be used in an Emacs session that also talks to network servers that may time out and close connections if Emacs ignores them for too long. > > It is easy to make a function that offers to switch threads. Tom already wrote it, and it is part of the code on the branch. It's called 'thread-yield', not surprisingly.