emacs-devel
[Top][All Lists]
Advanced

[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: 12 Aug 2002 15:40:33 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Richard Stallman <address@hidden> writes:

>       However, there is no way to prevent 'yield' or
>     SCM_TICK from switching during critical sections.
> 
> I'm not sure I understand that properly.  If we avoid calling yield
> or SCM_TICK within critical sections, won't that prevent thread
> switches within critical sections?

Yes, but you might not be able to avoid to call a function during a
critical section that calls SCM_TICK without you wanting it.  Having
to keep track of which functions are guaranteed to not to call
SCM_TICK or yield is not very reliable, I think.




reply via email to

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