emacs-devel
[Top][All Lists]
Advanced

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

Re: "Asynchronous Requests from Emacs Dynamic Modules"


From: Eli Zaretskii
Subject: Re: "Asynchronous Requests from Emacs Dynamic Modules"
Date: Sat, 31 Oct 2020 09:45:14 +0200

> From: Zhu Zihao <all_but_last@163.com>
> Date: Sat, 31 Oct 2020 11:18:43 +0800
> Cc: emacs-devel@gnu.org
> 
> What about callbacks? You can pass a Lisp closure to module and call the
> closure from module.

How will this work, if the callback is called asynchronously?  The
Lisp interpreter cannot be reentered.

I think the method described by Stefan is the only sane path towards
solving these situations.  It uses the infrastructure Emacs itself
uses for asynchronous interactions.



reply via email to

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