Either way, I once tried to pass over ownership of trees of objects to
other threads but gave up on that. I don't think std.concurrency and D
really can work like that. (?) Concurrency seems to work much better
when you pass messages and data, structs are fine, and then build object
trees
Hello,
This question was posted in D.learn, but did not receive any answer.
I apologize if this is not the right place to post.
I need to pass objects of a hierarchy between threads and I have some
troubles.
The sample code below displays:
Unknown
B.fun()
I do not understand why an object of
Hello,
I need to pass objects of a hierarchy between threads and I have some
troubles.
The sample code below displays:
Unknown
B.fun()
I do not understand why an object of type A is fetched as a Variant, while
a object of type B is received correctly.
Instead of
(A a){a.fun();}
I