unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: "Mattias Engdegård" <mattias.engdegard@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Q about staticvec declaration
Date: Wed, 27 Mar 2024 14:03:14 +0100	[thread overview]
Message-ID: <3108b9bf-d282-46fc-ac1d-a129cc744d4f@gmail.com> (raw)
In-Reply-To: <E6674D13-A9C9-4781-954B-E8A59B191194@gmail.com>

On 27.03.24 13:54, Mattias Engdegård wrote:
> 27 mars 2024 kl. 13.15 skrev Gerd Möllmann
> <gerd.moellmann@gmail.com>:
> 
>> What I meant to ask is why are the Lisp_Objects considered const
>> when viewed through staticvec.
> 
> Oh, I see. No idea, but it's not obvious that all static roots are
> free game for a moving GC (for example, there could be other
> references that expect the static roots to remain unchanged for all I
> know).

Yes, that's what I'm trying to understand, if there is something that 
depends on that. Without success, so far.

But it could also be a mistake, of course. Something like "const *" 
where "* const" was meant. Who knows...



      reply	other threads:[~2024-03-27 13:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-27  9:38 Q about staticvec declaration Gerd Möllmann
2024-03-27 11:44 ` Mattias Engdegård
2024-03-27 12:15   ` Gerd Möllmann
2024-03-27 12:54     ` Mattias Engdegård
2024-03-27 13:03       ` Gerd Möllmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3108b9bf-d282-46fc-ac1d-a129cc744d4f@gmail.com \
    --to=gerd.moellmann@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=mattias.engdegard@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).