emacs-devel
[Top][All Lists]
Advanced

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

Re: Multithreading, again and again


From: Tom Tromey
Subject: Re: Multithreading, again and again
Date: Wed, 19 Oct 2011 09:20:39 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

>>>>> "Dmitry" == Dmitry Antipov <address@hidden> writes:

Forgot to mention...

Dmitry> 2. Hide them all!
Dmitry>    [...] Buffer/socket I/O? GC?

I think right now you can do things like:

   (let ((some-binding))
     (while (condition)
       (sit-for 0)))

... and expect that some-binding will be visible to the process filters.

So, while it is tempting to just move all process stuff to threads, that
could break code, so one must make it opt-in.

Dealing with the various aspects of this is one of the to-do items for
my branch.

Tom



reply via email to

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