emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPS prstack


From: Helmut Eller
Subject: Re: MPS prstack
Date: Mon, 27 May 2024 09:27:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

On Sat, May 25 2024, Gerd Möllmann wrote:

> Moint Helmut. I've pushed another fix that prevents processing non-Lisp
> objs in sub char-tables.

Oops.  Would be nice if print-tests.el would cover some of the more
exotic cases.

Somewhat related: I wonder if this line in print_stack_push is safe:

  prstack.stack[prstack.sp++] = e;

This is not an atomic operation and prstack.sp gets updated before the
new stack slot is initialized.  In theory, there is a small time window
where scan_prstack can see the new prstack.sp but not the new value for
the slot.  Do we need to worry about such issues?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]