emacs-devel
[Top][All Lists]
Advanced

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

Re: multi-threaded Emacs


From: Stefan Monnier
Subject: Re: multi-threaded Emacs
Date: Fri, 05 Dec 2008 10:40:40 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>     Yes, I was referring to the cooperating threads model using a QUIT
>     macro.  How can it be used by gnus while fetching new data?
> Does the code that gnus runs to fetch new data involve ever doing the
> QUIT macro?

Yes, the QUIT macro is executed pretty much all the time.

> If it has a loop, then yes.  If it reads from a net
> connection, then it calls wait_reading_process_output.

It does both.

> So it should be able to operate in parallel with other things, even
> with cooperating threads.

Indeed.


        Stefan




reply via email to

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