bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#38807: [Feature request]: Support lisp workers like web workers.


From: HaiJun Zhang
Subject: bug#38807: [Feature request]: Support lisp workers like web workers.
Date: Sat, 21 Mar 2020 10:24:37 +0800

在 2020年1月4日 +0800 PM5:00,Eli Zaretskii <eliz@gnu.org>,写道:
Date: Sat, 4 Jan 2020 13:26:24 +0800
From: HaiJun Zhang <netjune@outlook.com>
Cc: michael.albinus@gmx.de, 38807@debbugs.gnu.org

There are ways of communications (e.g., you can call any Emacs
function),

Can threads in modules call Emacs functions?

Yes. It’s in the docs, please read about modules in the ELisp manual. 

I known module code can call emacs functions. But is it true for threads in module?

See this: https://github.com/emacs-lsp/lsp-mode/issues/676#issuecomment-476700911

> That means if a native-code thread is to be run in parallel with the UI thread, it can never access an Env


reply via email to

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