Can the send function send an array?
Andy Valencia
dont at spam.me
Tue Sep 10 14:25:02 UTC 2024
On Tuesday, 10 September 2024 at 13:14:05 UTC, Fox wrote:
> // I am learning how to send and receive data. The following is
> my intention, but it cannot be compiled.
> // aliases to mutable thread-local data not allowed, what does
> it mean? thank you.
dlang tries to use the type system to make one be clear about
what data is shared between potentially concurrent threads. You
need that data to be "shared" before you can send it between
threads.
Andy
More information about the Digitalmars-d-learn
mailing list