From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Mon, 14 Sep 2015 18:17:08 +0300 Message-ID: <83zj0p81zf.fsf@gnu.org> References: <87si7977rs.fsf@tromey.com> <55DB7C3D.4090106@cs.ucla.edu> <55DE75FD.8020308@cs.ucla.edu> <55F5DD8C.70506@dancol.org> <55F62C16.4000105@dancol.org> <55F64F04.9030002@dancol.org> <864mix5aqt.fsf@stephe-leake.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1442243864 8923 80.91.229.3 (14 Sep 2015 15:17:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Sep 2015 15:17:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 14 17:17:34 2015 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 1ZbVVd-0003xA-LD for ged-emacs-devel@m.gmane.org; Mon, 14 Sep 2015 17:17:33 +0200 Original-Received: from localhost ([::1]:41539 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbVVd-0001oK-2g for ged-emacs-devel@m.gmane.org; Mon, 14 Sep 2015 11:17:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbVVM-0001oD-88 for emacs-devel@gnu.org; Mon, 14 Sep 2015 11:17:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbVVI-0007ac-7t for emacs-devel@gnu.org; Mon, 14 Sep 2015 11:17:16 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:35704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbVVI-0007aR-0B for emacs-devel@gnu.org; Mon, 14 Sep 2015 11:17:12 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NUO00G00AFOX200@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Mon, 14 Sep 2015 18:17:09 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NUO00GJ6AGLTI70@a-mtaout21.012.net.il>; Mon, 14 Sep 2015 18:17:09 +0300 (IDT) In-reply-to: <864mix5aqt.fsf@stephe-leake.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 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:189948 Archived-At: > From: Stephen Leake > Date: Mon, 14 Sep 2015 09:36:10 -0500 > > Stefan Monnier writes: > > >> Yes, but the whole point of the module system is to access non-Emacs > >> libraries, > > > > But the issue only comes up once these non-Emacs libraries call back to > > Emacs functions (i.e. step 5 in my example). So only those calls need > > to be protected somehow from non-local exits. > > I think Daniel's point is that most module developers will not be aware > of this issue, and will be totally lost when it occurs. And Stefan's point is that such an occurrence is highly improbable, to say the least. > In addition, how many libraries document whether they are "longjmp > safe"? If the longjmp never happens, this is irrelevant.