Exception isn't thrown as expected

Ali Çehreli acehreli at yahoo.com
Sun Jun 2 22:26:22 PDT 2013


On 06/02/2013 08:23 PM, Alexandr Druzhinin wrote:

 > I found that after calling
 > std.concurrency.spawn() template - exceptions stop throwing, but if I
 > add little delay in beginning of spawned thread about 100 ms - it'd
 > works again and exceptions would be thrown again... :(

Is the exception thrown by a child thread? If so, perhaps that is 
causing the child to terminate. Also, the parent cannot catch a child's 
exception automatically.

Ali



More information about the Digitalmars-d-learn mailing list