From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: elisp test-and-set? Date: Sat, 26 May 2018 02:53:52 -0500 Message-ID: <86k1rqvomn.fsf@stephe-leake.org> References: <86po1jv4bv.fsf@stephe-leake.org> <834liuao88.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1527321155 31905 195.159.176.226 (26 May 2018 07:52:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 26 May 2018 07:52:35 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (windows-nt) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 26 09:52:31 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fMU06-0008AA-Rk for ged-emacs-devel@m.gmane.org; Sat, 26 May 2018 09:52:30 +0200 Original-Received: from localhost ([::1]:48118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMU2C-00021t-Cr for ged-emacs-devel@m.gmane.org; Sat, 26 May 2018 03:54:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMU1X-00021m-IL for emacs-devel@gnu.org; Sat, 26 May 2018 03:54:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMU1U-00023S-AO for emacs-devel@gnu.org; Sat, 26 May 2018 03:53:59 -0400 Original-Received: from smtp89.iad3b.emailsrvr.com ([146.20.161.89]:58679) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fMU1U-00021w-5Y for emacs-devel@gnu.org; Sat, 26 May 2018 03:53:56 -0400 Original-Received: from smtp4.relay.iad3b.emailsrvr.com (localhost [127.0.0.1]) by smtp4.relay.iad3b.emailsrvr.com (SMTP Server) with ESMTP id CE7E020083 for ; Sat, 26 May 2018 03:53:54 -0400 (EDT) X-Auth-ID: board-president@tomahawk-creek-hoa.com Original-Received: by smtp4.relay.iad3b.emailsrvr.com (Authenticated sender: board-president-AT-tomahawk-creek-hoa.com) with ESMTPSA id 9F02720071 for ; Sat, 26 May 2018 03:53:54 -0400 (EDT) X-Sender-Id: board-president@tomahawk-creek-hoa.com Original-Received: from Takver4 (76-218-37-33.lightspeed.kscymo.sbcglobal.net [76.218.37.33]) (using TLSv1.2 with cipher AES256-GCM-SHA384) by 0.0.0.0:25 (trex/5.7.12); Sat, 26 May 2018 03:53:54 -0400 In-Reply-To: <834liuao88.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 May 2018 10:08:07 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 146.20.161.89 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:225747 Archived-At: Eli Zaretskii writes: >> From: Stephen Leake >> Date: Fri, 25 May 2018 16:00:04 -0500 >> >> In ada-mode, I'm using a parser running in an external process to >> compute faces and indentation. >> >> Since faces are computed by font-lock, which runs on a timer in the >> background, it can try to run when indent is running in the foreground. > > Do you have evidence of this? I thought I did, but it turned out there was a different problem. > Emacs is single-threaded, so only one Lisp function can run at any > given time. Ok, I'll add a comment to this effect in the code. Thanks. -- -- Stephe