[Seaside-dev] WAContext Refactoring

Dale Henrichs dale.henrichs at gemstone.com
Tue Apr 1 17:04:17 UTC 2008


Dale Henrichs wrote:

> Paolo Bonzini wrote:
>
>>> It's this inheritance that makes it possible to use process locals 
>>> to replace dynamic variables, since continuations need to pick up 
>>> the session (and now other interesting request-specific info) for 
>>> which they have been invoked.
>>
>>
>> ... because the session is placed in the process local *before* 
>> invoking the continuation (I'm not sure whether WAProcessVariable's 
>> #ensure: block will run though, if the continuation hijacks the 
>> control flow, but that would be the same in Squeak too).  Got it, 
>> thanks Dale.
>>
> Good point. I'll put together a few more tests to probe this area as 
> well...
>
After a little testing ... the ensure block is on the stack from the 
original continuation, so it's not really an issue ...

Dale


More information about the seaside-dev mailing list