"R. Kent Dybvig" <dyb_at_cs.indiana.edu> writes:
>> > When the continuation is invoked, any dynamic bindings of the new
>> > continuation are restored (to the invoking thread's locations),
>>
>> To the locations or their values? If it's the locations, are they
>> then shared between the thread where the continuation was captured and
>> the thread where it's invoked?
>
> Sorry for the imprecision. The values of the continuation are restored to
> the locations of the thread.
I'm probably being dense, but I'm still not quite sure I understand
what you're saying. I'm assuming you're saying what I said above,
namely that, upon invoking a continuation, the dynamic bindings are
restored to the same locations as in the thread where the continuation
was captured, and thus now shared between the two thread. If that's
true, the formerly thread-local nature of the parameters seems to be
fractured.
--
Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla
Received on Wed Feb 14 2007 - 03:11:47 UTC