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

From: HaiJun Zhang <[email-masked]>
Date: Sat, 21 Mar 2020 10:24:37 +0800

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