From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: multi-threaded Emacs Date: Fri, 12 Dec 2008 22:08:05 -0500 Message-ID: References: <87abbiody1.fsf@master.homenet> <87ej0qci8g.fsf@master.homenet> <87y6yxm7xr.fsf@master.homenet> <87hc5gyn9x.fsf@master.homenet> <87ej0ixx97.fsf@master.homenet> <86skouwz8u.fsf@lifelogs.com> <86tz9asgdv.fsf@lifelogs.com> <8763lp8bcy.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 1229137717 4801 80.91.229.12 (13 Dec 2008 03:08:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Dec 2008 03:08:37 +0000 (UTC) Cc: Ted Zlatanov , emacs-devel@gnu.org To: Giuseppe Scrivano Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 13 04:09:40 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 1LBKso-0007Jq-4V for ged-emacs-devel@m.gmane.org; Sat, 13 Dec 2008 04:09:34 +0100 Original-Received: from localhost ([127.0.0.1]:37892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBKrc-0007Q4-Dd for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2008 22:08:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBKrX-0007Pc-Cw for emacs-devel@gnu.org; Fri, 12 Dec 2008 22:08:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBKrV-0007Oa-Mo for emacs-devel@gnu.org; Fri, 12 Dec 2008 22:08:15 -0500 Original-Received: from [199.232.76.173] (port=36000 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBKrV-0007OL-Ha for emacs-devel@gnu.org; Fri, 12 Dec 2008 22:08:13 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:51946 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LBKrT-0004HD-Pu; Fri, 12 Dec 2008 22:08:11 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAGy1QklMConz/2dsb2JhbACBbM1Hgn2BLw X-IronPort-AV: E=Sophos;i="4.36,215,1228107600"; d="scan'208";a="30998539" Original-Received: from 76-10-137-243.dsl.teksavvy.com (HELO pastel.home) ([76.10.137.243]) by ironport2-out.teksavvy.com with ESMTP; 12 Dec 2008 22:08:05 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 1C3C686F6; Fri, 12 Dec 2008 22:08:05 -0500 (EST) In-Reply-To: <8763lp8bcy.fsf@master.homenet> (Giuseppe Scrivano's message of "Fri, 12 Dec 2008 20:03:25 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:106863 Archived-At: > Personally, I would avoid to introduce `atomically' now with a > cooperative model but I prefer instead an explicit `yield'. It looks like I wasn't clear, but if you look back in this thread, you'll see that I only mentioned `atomically' in the context of "when explicit yields is not enough". IOW I fully agree that explicit yields (plus some implicit ones when waiting) are just fine for now. Stefan