emacs-devel
[Top][All Lists]
Advanced

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

Re: master f0ff20be51: * src/emacs.c (main): Improve accuracy of daemon


From: Stefan Monnier
Subject: Re: master f0ff20be51: * src/emacs.c (main): Improve accuracy of daemon warning message on PGTK.
Date: Wed, 06 Apr 2022 23:16:56 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>> FWIW, I think "fundamental" is a bit strong here.  I don't see any
>> evidence that the design of the API makes it impossible.  It seems more
>> like a problem with the current implementation
> I think the problem is quite fundamental to the current implementation
> of GDK:

Fundamental to the implementation means that it can be fixed without
changing the design of the API ;-)

> lots of stuff is left unfreed when a display is programmatically
> disconnected as-is, and freeing even that typically requires a working
> connection to the display server.  Which is unattainable when a display
> disconnects due to an IO error.

I suspect it's worse than that, since "left unfreed" would just lead to
memory leaks, which I suspect could be tolerable (and in any case
much better than what we have now).


        Stefan




reply via email to

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