std.concurrency : sending immutable classes

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Mon Nov 11 15:21:05 PST 2013


On 11/11/13 21:10, Dicebot wrote:
> No, I am perfectly aware of shared part, point is exactly about sending
> immutable ones (which are implicitly shared by design). What bothers me most is
> that I can't imagine what code flow it takes to print no output and no errors as
> (Variant v) is supposed to catch everything.

Based on my experience with std.concurrency, most likely you've either got a 
type mismatch (so the thread is not recognizing the message, even though you 
think it should) or you've got an error being thrown (the message for which 
won't be printed if it's thrown in the thread).



More information about the Digitalmars-d-learn mailing list