[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Could each Emacs frame utilize a thread?
From: |
Eli Zaretskii |
Subject: |
Re: Could each Emacs frame utilize a thread? |
Date: |
Thu, 13 Dec 2001 01:11:38 +0200 |
> From: Simon Josefsson <address@hidden>
> Date: Wed, 12 Dec 2001 20:15:34 +0100
>
> using idle-timers is simply not
> sufficient -- they are only useful if what you try to do is not CPU
> bound. Most of Gnus is. And then you freeze Emacs anyway.
The usual way of battling this with idle timer method is to do the
CPU-bound computation in small chunks. And that's where convenience
comes into play: subdividing code into chunks requires all kinds of
variables in which you save the state of the computation, so you could
restart it later.