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: Thu, 04 Dec 2008 21:59:45 -0500 Message-ID: References: <87abbiody1.fsf@master.homenet> <877i6l5d8s.fsf@master.homenet> <874p1npvtj.fsf@master.homenet> <87ej0qci8g.fsf@master.homenet> <87y6yxm7xr.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 1228446920 8480 80.91.229.12 (5 Dec 2008 03:15:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Dec 2008 03:15:20 +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 Fri Dec 05 04:16:23 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 1L8RAw-0005H4-8p for ged-emacs-devel@m.gmane.org; Fri, 05 Dec 2008 04:16:18 +0100 Original-Received: from localhost ([127.0.0.1]:39599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8R9l-0005g4-Fk for ged-emacs-devel@m.gmane.org; Thu, 04 Dec 2008 22:15:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8R9c-0005bo-OK for emacs-devel@gnu.org; Thu, 04 Dec 2008 22:14:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8R9Y-0005ZJ-So for emacs-devel@gnu.org; Thu, 04 Dec 2008 22:14:54 -0500 Original-Received: from [199.232.76.173] (port=58163 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8R9X-0005Z6-CS for emacs-devel@gnu.org; Thu, 04 Dec 2008 22:14:51 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:44294) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L8R9X-0000dv-7H for emacs-devel@gnu.org; Thu, 04 Dec 2008 22:14:51 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1L8Quv-0004EO-Vn; Thu, 04 Dec 2008 21:59:46 -0500 In-reply-to: <87y6yxm7xr.fsf@master.homenet> (message from Giuseppe Scrivano on Wed, 03 Dec 2008 19:26:24 +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:106588 Archived-At: Yes, I was referring to the cooperating threads model using a QUIT macro. How can it be used by gnus while fetching new data? Does the code that gnus runs to fetch new data involve ever doing the QUIT macro? If it has a loop, then yes. If it reads from a net connection, then it calls wait_reading_process_output. So it should be able to operate in parallel with other things, even with cooperating threads.