[Top][All Lists]

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

Re: Tree-sitter introduction documentation

From: Eli Zaretskii
Subject: Re: Tree-sitter introduction documentation
Date: Sun, 01 Jan 2023 08:39:52 +0200

> From: Yuan Fu <casouri@gmail.com>
> Date: Sat, 31 Dec 2022 17:16:11 -0800
> Cc: Eli Zaretskii <eliz@gnu.org>,
>  Philip Kaludercic <philipk@posteo.net>,
>  dgutov@yandex.ru,
>  theophilusx@gmail.com,
>  emacs-devel@gnu.org
> > 
> >> I wanted to keep it simple, synchronous, and quiet, and didn’t thought
> >> much about it.
> > 
> > I think we should default to asynchonous operations as much as possible.
> If you are talking about the whole command, maybe. Does call-process 
> automatically yield when ran in a make-thread?

No, it doesn't.  And it's threads that yield, not Emacs primitives.  A
thread will yield when it calls some API that invokes pselect.

reply via email to

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