>>>>> "RT" == RT Happe <firstname.lastname@example.org> writes:
RT> On Fri, 17 Jan 2003, Michael Sperber [Mr. Preprocessor] wrote:
>> Meanwhile, feel free to ask questions :-)
RT> A basic question: which Scheme operations (e.g. variable lookup or
RT> mutation, function calls) are atomic w.r.t. context switches (i.e. run
RT> from start to end before the next thread takes over). Or, should we
RT> always lock shared variables during access?
Yes, for now. (That is, until we get scsh merged with the Scheme 48
with lockless synchronization. I'd encourage you to create
abstractions which will make the transition easier.) The current VM
does variable access atomically (context switching happens at the
Scheme level), but this might change with SMP support.
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla