From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: advice needed for multi-threading patch Date: Mon, 28 Sep 2009 09:52:54 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <877hvjglyx.fsf@lifelogs.com> References: <87zl8lwlgl.fsf@master.homenet> <87ocp0w4vx.fsf@master.homenet> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1254149630 31958 80.91.229.12 (28 Sep 2009 14:53:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Sep 2009 14:53:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 28 16:53:43 2009 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 1MsHbf-000435-Bw for ged-emacs-devel@m.gmane.org; Mon, 28 Sep 2009 16:53:40 +0200 Original-Received: from localhost ([127.0.0.1]:53472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsHbe-0008UZ-NO for ged-emacs-devel@m.gmane.org; Mon, 28 Sep 2009 10:53:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MsHba-0008TB-MR for emacs-devel@gnu.org; Mon, 28 Sep 2009 10:53:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MsHbV-0008Qp-Tg for emacs-devel@gnu.org; Mon, 28 Sep 2009 10:53:34 -0400 Original-Received: from [199.232.76.173] (port=51269 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsHbV-0008Qm-RI for emacs-devel@gnu.org; Mon, 28 Sep 2009 10:53:29 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:30097) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MsHbV-0003eZ-CO for emacs-devel@gnu.org; Mon, 28 Sep 2009 10:53:29 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MsHbU-0006uD-LU for emacs-devel@gnu.org; Mon, 28 Sep 2009 10:53:28 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MsHbR-0003xc-KF for emacs-devel@gnu.org; Mon, 28 Sep 2009 16:53:25 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Sep 2009 16:53:25 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Sep 2009 16:53:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:geg1uMAlFnwWw55h2p+gqcHrVN4= X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) 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:115721 Archived-At: On Thu, 24 Sep 2009 14:04:22 -0600 Tom Tromey wrote: Tom> I think we need to yield when a thread is waiting for I/O. And, we Tom> probably need a way to associate a process filter with a thread, so that Tom> whatever input Gnus gets is processed in the right thread. On Thu, 24 Sep 2009 18:47:16 -0400 Ken Raeburn wrote: KR> Yes, and this is an area where Gnus could be changed to take advantage KR> of it once the facility is a bit more stabilized. The output from one KR> NNTP server can be processed into a list of newsgroups in one thread, KR> while another thread converts IMAP output into a list of mailboxes, a KR> third thread talks to yet another IMAP server, etc. The complications from gnus-agent, the gnus-registry, and other Gnus elements that assume single-threading can be quite nasty. It would probably be productive to involve the Gnus developers (Ding Mailing List ). Ted