emacs-devel
[Top][All Lists]
Advanced

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

Re: multi-threaded Emacs


From: Li Lin
Subject: Re: multi-threaded Emacs
Date: Fri, 05 Dec 2008 14:27:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

First, all context switches between user-level threads have to be done
manually, i.e. if you need a switch, you have to call
cthread_yield(). However, on SMP systems, since we have more than one
kernel threads, user-level threads may be interrupted randmonly, but
still no user-level context switch will happen unless you yield the CPU 
explicitly.




reply via email to

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