[Top][All Lists]

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

Re: advice needed for multi-threading patch

From: Tom Tromey
Subject: Re: advice needed for multi-threading patch
Date: Thu, 24 Sep 2009 14:04:22 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

>>>>> "Giuseppe" == Giuseppe Scrivano <address@hidden> writes:

>> That's wonderful.  Does that mean that Gnus really runs in its own
>> thread while you can do normal editing in other buffers?

Giuseppe> Yes, it does (except some errors).  I am concentrating all my
Giuseppe> efforts on gnus, I think that if threads work well for gnus
Giuseppe> they will work quite well with any other package.

This is awesome.

Giuseppe> At the moment it takes a lot to load folder, because there are
Giuseppe> not enough yield on the other thread and probably gnus switch
Giuseppe> buffers too often (causing a yield).

I think we need to yield when a thread is waiting for I/O.  And, we
probably need a way to associate a process filter with a thread, so that
whatever input Gnus gets is processed in the right thread.


reply via email to

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