[squeak-dev] Obtaining a current context in primitive

Igor Stasenko siguctua at gmail.com
Sat May 1 14:32:10 UTC 2010


Hello guys,

i am looking for a way, how i can obtain an activeContext oop in my
primitive function.
An activeContext variable is directly accessible for interpreter code,
but not for plugins.
So, i need some indirect way to retrieve it, to avoid patching the
Interpreter for exposing it.

What i actually want is to switch an active context to a different
one, but remember a previously active,
so it can be restored later.

-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list