spawning a thread in a class
Sean Kelly
sean at invisibleduck.org
Wed Jul 21 08:09:12 PDT 2010
Mike James Wrote:
>
> I'm using the std.concurrency in Phobos to do the threading in the new
> version but I'm having problems passing the address of the receive handler.
> Are there any solutions to this - without making the receive handler static
> or outside the class :-)
Not at the moment, though I suppose one could argue that spawn() should accept shared delegates. I have to update Thread to accept these either way.
More information about the Digitalmars-d-learn
mailing list