From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: [PATCH 04/10] introduce new functions to deal with specpdl Date: Tue, 14 Aug 2012 08:53:53 -0600 Message-ID: <87a9xx1q4e.fsf@fleche.redhat.com> References: <87ipcretyb.fsf@fleche.redhat.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1344956044 29650 80.91.229.3 (14 Aug 2012 14:54:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Aug 2012 14:54:04 +0000 (UTC) To: Emacs discussions Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 14 16:54:04 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T1IVN-0000Wn-P9 for ged-emacs-devel@m.gmane.org; Tue, 14 Aug 2012 16:54:01 +0200 Original-Received: from localhost ([::1]:59742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1IVM-0002HU-UV for ged-emacs-devel@m.gmane.org; Tue, 14 Aug 2012 10:54:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1IVI-0002Gn-Nw for emacs-devel@gnu.org; Tue, 14 Aug 2012 10:53:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1IVH-00030u-Nf for emacs-devel@gnu.org; Tue, 14 Aug 2012 10:53:56 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:10042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1IVH-00030n-Fi for emacs-devel@gnu.org; Tue, 14 Aug 2012 10:53:55 -0400 Original-Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7EErsbO022089 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 14 Aug 2012 10:53:54 -0400 Original-Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q7EErrCD002302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 14 Aug 2012 10:53:54 -0400 X-Attribution: Tom In-Reply-To: <87ipcretyb.fsf@fleche.redhat.com> (Tom Tromey's message of "Thu, 09 Aug 2012 13:39:08 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152518 Archived-At: >>>>> "Tom" == Tom Tromey writes: Tom> This introduces some new functions to handle the specpdl. The basic Tom> idea is that when a thread loses the interpreter lock, it will unbind Tom> the bindings it has put in place. Then when a thread acquires the Tom> lock, it will restore its bindings. FWIW on further reflection I am not at all sure that this patch is correct. I think I will write some more tests to check. If you're reviewing patches, you might want to start somewhere else. thanks, Tom