emacs-devel
[Top][All Lists]
Advanced

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

Re: Updated GNU TLS bindings


From: Richard Stallman
Subject: Re: Updated GNU TLS bindings
Date: Sat, 26 Jan 2002 18:28:39 -0700 (MST)

    In these Lisp_Objects I am storing pointes to C structures.  I
    understand this is a no-no, and I think it might cause crashes in the
    garbage collector.  How should I fix this?

Yes, it will cause crashes.  I suggest you handle the process
structure the way `struct window' is handled.  See the definition in
window.h and see the code in alloc.c that works with windows.  That
code is simple enough, so you should be able to adapt the method.

Eli wrote:

    I think these objects should exists in the struct even if Emacs was
    compiled without TLS.

I agree.  Given the small number of subprocess objects likely
to exist in one Emacs, there is no possibility of saving much space,
so the added complexity of a conditional here is not worth while.



reply via email to

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