concurrency problem with pointers
evilrat
evilrat666 at gmail.com
Fri Jul 19 08:32:16 PDT 2013
On Thursday, 18 July 2013 at 23:36:34 UTC, Sean Kelly wrote:
> In short, you're trying to send a pointer via std.concurrency.
> The easiest way is to cast it to/from shared. Otherwise, you'd
> need to make it an opaque type like a size_t rather than a type
> D can tell is a reference.
sure cast to size_t and back works, but can shoot in the leg
later anytime :(
More information about the Digitalmars-d-learn
mailing list