std.concurrency : sending immutable classes

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Mon Nov 11 23:57:59 PST 2013


On 12/11/13 00:31, Dicebot wrote:
> On Monday, 11 November 2013 at 23:21:14 UTC, Joseph Rushton Wakeling wrote:
>> (the message for which won't be printed if it's thrown in the thread).
>
> Whoa, didn't know that, I thought it will terminate the thread and cause related
> exception in owner thread. I have just checked it an yeah, assertion error is
> thrown:

Yea, it's unintuitive -- I got bitten by it earlier in the year:
http://forum.dlang.org/thread/51D16259.1010009@webdrake.net


More information about the Digitalmars-d-learn mailing list