[Top][All Lists]

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

Re: Emacs Lisp and Guile

From: Marius Vollmer
Subject: Re: Emacs Lisp and Guile
Date: 08 Aug 2002 18:06:18 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Richard Stallman <address@hidden> writes:

> In fact, it would simplify matters greatly if Emacs can specify where
> a thread switch may occur.  Is that implemented in Guile?

Yes.  We only support cooperative threads right now and thread
switches can only occur during calls to some specific functions like
'yield', 'lock-mutex', ' wait-condition-variable', etc.  You also need
to call SCM_TICK occasionally in long runnning computations to allow
other threads to run.  However, there is no way to prevent 'yield' or
SCM_TICK from switching during critical sections.  You have to use
mutex for this.

reply via email to

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