>>>>> On Sat, 9 Apr 2005 15:46:10 +0200, "Jan D." <[EMAIL PROTECTED]> said:

>> Is it safe to (possibly indirectly) call Feval, which may cause GC,
>> while executing XTread_socket?

> It is not safe if the Mac OSX port runs XTread_socket in a signal
> handler.  That is one more argument for just creating simple events
> in C and pass them on to Lisp.

Thanks.  I've just encountered a situation that I'd like to use
code conversion, which may call Feval, inside XTread_socket.
That is related to a callback function for the clipboard, and it
should complete code conversion before it returns.  Thus passing
events to Lisp does not work here.

Is GC the only reason to avoid Feval inside XTread_socket?  If
so, is it possible to use code conversion together with
inhibit_garbage_collection?

                                     YAMAMOTO Mitsuharu
                                [EMAIL PROTECTED]


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to