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: Dynamic loading progress Date: Sat, 12 Sep 2015 16:42:23 -0400 Message-ID: References: <54F789B2.6030105@dancol.org> <87egnel6ac.fsf@lifelogs.com> <87vbgpk1po.fsf@lifelogs.com> <85mw20gmeo.fsf@stephe-leake.org> <878u97nyjn.fsf@lifelogs.com> <86d1yirnqw.fsf@stephe-leake.org> <87si7977rs.fsf@tromey.com> <55DB7C3D.4090106@cs.ucla.edu> <55DE75FD.8020308@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1442090572 13336 80.91.229.3 (12 Sep 2015 20:42:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Sep 2015 20:42:52 +0000 (UTC) Cc: Stephen Leake , Emacs development discussions , Paul Eggert , Tom Tromey , Daniel Colascione To: =?windows-1252?Q?Aur=E9lien?= Aptel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 12 22:42:43 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 1ZardC-0005io-Iw for ged-emacs-devel@m.gmane.org; Sat, 12 Sep 2015 22:42:42 +0200 Original-Received: from localhost ([::1]:33665 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZardB-000604-QX for ged-emacs-devel@m.gmane.org; Sat, 12 Sep 2015 16:42:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zarcz-0005ze-80 for emacs-devel@gnu.org; Sat, 12 Sep 2015 16:42:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zarcu-0001Vj-7J for emacs-devel@gnu.org; Sat, 12 Sep 2015 16:42:29 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:61264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zarcu-0001Vb-2y for emacs-devel@gnu.org; Sat, 12 Sep 2015 16:42:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CVDQA731xV/zi6xEVcgxCEAsEVh0sEAgKBPDoTAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJIg3CM8jAQEBBwIBH4s6hQUHhC0BBLM/gUUjgWaCLiKCeAEBAQ X-IPAS-Result: A0CVDQA731xV/zi6xEVcgxCEAsEVh0sEAgKBPDoTAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJIg3CM8jAQEBBwIBH4s6hQUHhC0BBLM/gUUjgWaCLiKCeAEBAQ X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="164654750" Original-Received: from 69-196-186-56.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.196.186.56]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 12 Sep 2015 16:42:23 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 3BFD6AE22D; Sat, 12 Sep 2015 16:42:23 -0400 (EDT) In-Reply-To: (=?windows-1252?Q?=22Aur=E9lien?= Aptel"'s message of "Sat, 12 Sep 2015 21:38:44 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:189877 Archived-At: > I only have the error handling left to implement from the API. I'm not > sure on how to catch error/signal and return to the module code. Can you give us more details about you mean by the above. Are you talking about how to handle things like calls to Fsignal, or to Fthrow, or how to provide access to unwind-protect and condition-case in to the module's? > The problem with finalizer is they can't be used as destructors since > the GC is not guaranteed to be called at the end of every > dynamic/lexical scope (or is it?). Indeed it's not guaranteed at all. It's not even guaranteed that when you call the GC, all dead objects will be collected. Stefan