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: Watchpoints for emacs lisp. Date: Wed, 26 May 2010 09:46:00 -0400 Message-ID: References: <28512483.post@talk.nabble.com> <28567671.post@talk.nabble.com> <28574547.post@talk.nabble.com> <7FA18246-9874-4EC2-AAEB-55B693541C20@mit.edu> <28577522.post@talk.nabble.com> <28585093.post@talk.nabble.com> <28585789.post@talk.nabble.com> <28586371.post@talk.nabble.com> <28587094.post@talk.nabble.com> <28657657.post@talk.nabble.com> <28657973.post@talk.nabble.com> <28678945.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274881576 9290 80.91.229.12 (26 May 2010 13:46:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 26 May 2010 13:46:16 +0000 (UTC) Cc: Emacs-devel@gnu.org To: "alin.s" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 26 15:46:14 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OHGw1-0000Mv-CU for ged-emacs-devel@m.gmane.org; Wed, 26 May 2010 15:46:13 +0200 Original-Received: from localhost ([127.0.0.1]:46984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHGw0-0007v9-7c for ged-emacs-devel@m.gmane.org; Wed, 26 May 2010 09:46:12 -0400 Original-Received: from [140.186.70.92] (port=55095 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHGvr-0007so-9K for Emacs-devel@gnu.org; Wed, 26 May 2010 09:46:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHGvq-0007xu-45 for Emacs-devel@gnu.org; Wed, 26 May 2010 09:46:03 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:33065 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHGvq-0007xg-2I for Emacs-devel@gnu.org; Wed, 26 May 2010 09:46:02 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAPfC/EtLd+tS/2dsb2JhbACeH3LBD4UTBIxC X-IronPort-AV: E=Sophos;i="4.53,304,1272859200"; d="scan'208";a="65441509" Original-Received: from 75-119-235-82.dsl.teksavvy.com (HELO pastel.home) ([75.119.235.82]) by ironport2-out.pppoe.ca with ESMTP; 26 May 2010 09:46:01 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 0AE5480E5; Wed, 26 May 2010 09:46:01 -0400 (EDT) In-Reply-To: <28678945.post@talk.nabble.com> (alin s.'s message of "Wed, 26 May 2010 03:38:00 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.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:125282 Archived-At: >>> In which cases the access to this shared resource is concurrent? >> If you build without -DSYNC_INPUT, Emacs may call malloc from >> asynchronous signal handlers (yes, it's usually considered as a no-no in >> Unix programming, which is why we have switched to SYNC_INPUT). > In which situation it is useful to create new symbols in signal handlers ? Without -DSYNC_INPUT we run a whole lot of code within the signal handlers, so whether that code can create symbols or not, I don't know, but figuring it out is difficult. Hence -DSYNC_INPUT. Stefan