emacs-devel
[Top][All Lists]
Advanced

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

Re: MPS: face-cache


From: Gerd Möllmann
Subject: Re: MPS: face-cache
Date: Tue, 30 Apr 2024 15:43:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

> Some of both, actually.  We re-enter the normal input processing, see
> tty_menu_activate, but we inhibit redisplay (because the display
> engine has no idea someone wrote int its matrices behind its back) and
> manage screen updates ourselves.  We also inhibit GC (in
> tty_menu_show).

Maybe the cheapest solution would be to use

specpdl_ref
igc_park_arena (void)
{
  specpdl_ref count = SPECPDL_INDEX ();
  record_unwind_protect_void (release_arena);
  mps_arena_park (global_igc->arena);
  return count;
}

This "parking" is like inhibiting GC. I've used it while pdumping so
that pdumper can write its dump without objs moving.



reply via email to

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