From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Raeburn Newsgroups: gmane.emacs.devel Subject: Re: advice needed for multi-threading patch Date: Tue, 29 Sep 2009 00:07:00 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1254197259 3325 80.91.229.12 (29 Sep 2009 04:07:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Sep 2009 04:07:39 +0000 (UTC) Cc: Stefan Monnier , Emacs development discussions To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 29 06:07:31 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 1MsTzv-0008TN-2o for ged-emacs-devel@m.gmane.org; Tue, 29 Sep 2009 06:07:31 +0200 Original-Received: from localhost ([127.0.0.1]:52145 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsTzu-0003tA-Ir for ged-emacs-devel@m.gmane.org; Tue, 29 Sep 2009 00:07:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MsTzf-0003oh-Jq for emacs-devel@gnu.org; Tue, 29 Sep 2009 00:07:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MsTzb-0003ni-44 for emacs-devel@gnu.org; Tue, 29 Sep 2009 00:07:15 -0400 Original-Received: from [199.232.76.173] (port=59087 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsTza-0003ne-Pf for emacs-devel@gnu.org; Tue, 29 Sep 2009 00:07:10 -0400 Original-Received: from splat.raeburn.org ([69.25.196.39]:46952 helo=raeburn.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MsTzR-0000A4-Mf for emacs-devel@gnu.org; Tue, 29 Sep 2009 00:07:10 -0400 Original-Received: from [10.0.0.172] (squish.raeburn.org [10.0.0.172]) by raeburn.org (8.14.3/8.14.1) with ESMTP id n8T470uB008514; Tue, 29 Sep 2009 00:07:00 -0400 (EDT) In-Reply-To: X-Mailer: Apple Mail (2.936) 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:115772 Archived-At: On Sep 28, 2009, at 23:33, Tom Tromey wrote: > It is worth noting that we don't have to solve all the problems up > front. Since threading is a new feature, I think it is ok to say that > code running in a "secondary" thread might have to follow some special > rules, or that some things (e.g., let-binding something then > redisplay) > may only work in the "main" thread. These restrictions could then > maybe > be lifted later. True. And as long as it's not yet folded into an Emacs release, we can also alter behavior, impose new restrictions, etc., as it gets exercised and we learn better about compatibility issues we might've overlooked. Ken