www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15895] New: Make rt_trapExceptions apply to fibers as well


          Issue ID: 15895
           Summary: Make rt_trapExceptions apply to fibers as well
           Product: D
           Version: D2
          Hardware: x86_64
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: dmdtracker supradigital.org

rt_trapExceptions is meant to avoid trapping of exceptions.

However, Exceptions thrown from Fibers are still trapped making the option only
usable for code that avoids fibers.

This PR changes the code flow so that the rt_trapExceptions is respected for
fibers as well.


Apr 07 2016