在 2020年1月4日 +0800 PM5:00,Eli Zaretskii ,写道: > > Date: Sat, 4 Jan 2020 13:26:24 +0800 > > From: HaiJun Zhang > > 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.