|
From: | yyoncho |
Subject: | Re: "Asynchronous Requests from Emacs Dynamic Modules" |
Date: | Sat, 31 Oct 2020 10:02:41 +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.
[Prev in Thread] | Current Thread | [Next in Thread] |