[Seaside-dev] Re: WAContext Refactoring
Lukas Renggli
renggli at gmail.com
Sat Mar 29 23:11:40 UTC 2008
> GemStone does not have thread locals ... I imagine that it won't be too
> hard to add, but it will take vm modifications...
But a process is also an object, isn't it? Philippe and I had a look
at the GemStone code and thought that it should be feasible somehow to
attach additional state to a Smalltalk process. This state doesn't
have to persist, it just lives as long as a request is handled.
The reason why we can't use a dynamic variable is because dynamic
variables are bound to the execution stack and therefor captured and
restored together with the continuations.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside-dev
mailing list