[Xotcl] XOTcl and Thread

Vasiljevic Zoran zv at archiware.com
Thu Feb 10 14:52:28 CET 2011

On 10.02.2011, at 14:27, Krzysztof Frukacz wrote:

> What would be the proper way to "register" the object myObject (which already exists) in another thread?

No way. You need to ask Gustaf to give you serialisation-code
that you can use to replicate your object/classes blueprints
from one thread into others as a matter of thread inits.
IIRC there must be a sample Serialize class somewhere in the
Even then, an instantiated object cannot be shared/moved across
threds. You need to instantiate it in the target thread.


More information about the Xotcl mailing list