Hi

I have a program with two threads. One thread produces data that is put in a queue and then consumed by the other thread. I initially built a custom queue to do this, but thought this should have some standard solution in D? I looked at std.concurrency and thought that message passing could be used. However, the problem is that I get the following error.

Error: static assert: "Aliases to mutable thread-local data not allowed."

I am not sure how to solve this. Maybe message parsing isn't the correct solution?
Is there some standard solution to this in D?

Reply via email to