From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Tue, 20 Oct 2015 18:52:24 +0000 Message-ID: References: <83r3trulse.fsf@gnu.org> <54E0D7E0.305@87.69.4.28> <83h9unukbg.fsf@gnu.org> <54E0DEF8.7020901@dancol> <83egpruiyp.fsf@gnu.org> <54E0FF93.2000104@dancol.org> <5610ED13.1010406@dancol.org> <56117F37.9060808@dancol.org> <56259FDD.8040401@dancol.org> <87zizeme8k.fsf@tromey.com> <5625B166.3080104@dancol.org> <86zizdczhp.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e013c6abad4cdd305228dc3dd X-Trace: ger.gmane.org 1445367192 12625 80.91.229.3 (20 Oct 2015 18:53:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Oct 2015 18:53:12 +0000 (UTC) Cc: =?UTF-8?Q?Aur=C3=A9lien_Aptel?= , Eli Zaretskii , Tom Tromey , Emacs development discussions To: Stephen Leake , Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 20 20:53:06 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 1Zoc1k-0006Hf-Rv for ged-emacs-devel@m.gmane.org; Tue, 20 Oct 2015 20:52:53 +0200 Original-Received: from localhost ([::1]:47573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zoc1k-0005nY-Dh for ged-emacs-devel@m.gmane.org; Tue, 20 Oct 2015 14:52:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zoc1W-0005nQ-4R for emacs-devel@gnu.org; Tue, 20 Oct 2015 14:52:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zoc1V-0005Ox-6l for emacs-devel@gnu.org; Tue, 20 Oct 2015 14:52:38 -0400 Original-Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:34174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zoc1T-0005NM-Ig; Tue, 20 Oct 2015 14:52:35 -0400 Original-Received: by wikq8 with SMTP id q8so60360436wik.1; Tue, 20 Oct 2015 11:52:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=HRizAoL5Y42gUFrHCbvWvj0I6cPrfagS8mNwRq5kbHs=; b=lUeERBjjAOe603aMpoeNW3w+tSL4U60v+Il2Cxyd4ae8WeP+6+Snem8aF/uo1z2cry G8WxYZ9K0toVKWz8LsqyHDrkE5UcD6JRF3EWGCp7XR2dSZcqx6awgd7Qm3yKQfkJA9vG zqIlWCXNJwxPh/Rby5D9rsL2S2A/k5UhTpWyR1GGDG+OTtZVoPCMqCBKSXzS28kXg02i IE/U1lMXJq1ByW/c3LduJVxtxfxdYgo4Gy1X0+9klywAGwJzjX9S+PlH6IOpRXp5VgG/ UTsaMDQj3pyW1LLVq8enpvZZmTUjEWt8AD8jfcZGWf9EpBwZ63aHE4j+jwtJpF4+cp6f LzEw== X-Received: by 10.194.157.102 with SMTP id wl6mr6584543wjb.79.1445367154787; Tue, 20 Oct 2015 11:52:34 -0700 (PDT) In-Reply-To: <86zizdczhp.fsf@stephe-leake.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::236 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:192224 Archived-At: --089e013c6abad4cdd305228dc3dd Content-Type: text/plain; charset=UTF-8 Stephen Leake schrieb am Di., 20. Okt. 2015 um 17:48 Uhr: > Daniel Colascione writes: > > > A runtime describes Emacs as a whole. It lives forever and has no thread > > affinity. An environment represents a specific stack activation of an > > Emacs module function. It has thread affinity. Because environments have > > thread affinity, we can very cheaply store local references, error > > context, and whatever else we want in them. > > Please add this to comments in the API, so we don't forget. > > Or implement it incorrectly. For example, the runtime object in my pull request is local to the init function. If the runtime object is static, does its get_environment function always return the same environment? In other words, is that environment also static? --089e013c6abad4cdd305228dc3dd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Stephe= n Leake <stephen_leake= @stephe-leake.org> schrieb am Di., 20. Okt. 2015 um 17:48=C2=A0Uhr:<= br>
Daniel Colascione <dancol@dancol.org> writes:=

> A runtime describes Emacs as a whole. It lives forever and has no thre= ad
> affinity. An environment represents a specific stack activation of an<= br> > Emacs module function. It has thread affinity. Because environments ha= ve
> thread affinity, we can very cheaply store local references, error
> context, and whatever else we want in them.

Please add this to comments in the API, so we don't forget.


=C2=A0Or implement it incorrectly. For= example, the runtime object in my pull request is local to the init functi= on.

If the runtime object is static, does its get_= environment function always return the same environment? In other words, is= that environment also static?
--089e013c6abad4cdd305228dc3dd--