Yes I "move" the ownership of objects from the main thread to the work threads. 
And I "move" the ownership back from work thread to the main thread. Once and 
objects moves a way from the thread it was created on I will not be touching 
the object or its internal sub objects on that thread. Nim does not have any 
notion of ownership so I have to do that manually.

I don't expect that both threads reading/writing to objects without locking to 
work.

Does that make sense? Please check out the code.

Will the new islolated: block help with making sure I don't touch objects or 
sub objects without locking them first?

Reply via email to