From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.devel Subject: Re: multi-threaded Emacs Date: Sat, 06 Dec 2008 03:30:51 -0500 Message-ID: References: <87abbiody1.fsf@master.homenet> <877i6l5d8s.fsf@master.homenet> <874p1npvtj.fsf@master.homenet> <87ej0qci8g.fsf@master.homenet> <87y6yxm7xr.fsf@master.homenet> <87oczroysm.fsf@master.homenet> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1228552304 11753 80.91.229.12 (6 Dec 2008 08:31:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Dec 2008 08:31:44 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Giuseppe Scrivano Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 06 09:32:46 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L8sai-0005CG-0u for ged-emacs-devel@m.gmane.org; Sat, 06 Dec 2008 09:32:44 +0100 Original-Received: from localhost ([127.0.0.1]:56723 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8sZW-0004UR-Rj for ged-emacs-devel@m.gmane.org; Sat, 06 Dec 2008 03:31:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8sZR-0004UC-Rc for emacs-devel@gnu.org; Sat, 06 Dec 2008 03:31:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8sZQ-0004U0-FO for emacs-devel@gnu.org; Sat, 06 Dec 2008 03:31:24 -0500 Original-Received: from [199.232.76.173] (port=40257 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8sZQ-0004Tx-9W for emacs-devel@gnu.org; Sat, 06 Dec 2008 03:31:24 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:37178) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L8sZQ-0007Ra-2l for emacs-devel@gnu.org; Sat, 06 Dec 2008 03:31:24 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L8sYt-0006hd-WF; Sat, 06 Dec 2008 03:30:52 -0500 In-reply-to: <87oczroysm.fsf@master.homenet> (message from Giuseppe Scrivano on Fri, 05 Dec 2008 08:40:09 +0100) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106628 Archived-At: The cooperative threads approach moves to Elisp packages more work as they will have explicitly to yield control but it simplifies a lot the C code. If thread-switching occurs inside QUIT, then Lisp code will never need to explicitly say where switching occurs. On the other hand, if thread-switching only occurs in wait_reading_process_output, Lisp programs could permit thread-switching by doing (accept-process-output). The former would be more convenient. Stefan said it has problems, but didn't explain them yet.