How to kill whole application if child thread raises an exception?
    dm via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Wed Oct 26 03:21:07 PDT 2016
    
    
  
On Wednesday, 26 October 2016 at 10:09:05 UTC, rikki cattermole 
wrote:
> If you throw an error it should crash the entire application.
> But really you need to set up sync points within your 
> application to allow it to die gracefully.
I tried throw new Error... But main thread still working.
Tried with dmd v2.071.2 and ldc2 0.17.2. OS - Linux.
    
    
More information about the Digitalmars-d-learn
mailing list