[Issue 15895] New: Make rt_trapExceptions apply to fibers as well

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Apr 7 12:47:37 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=15895

          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 at puremagic.com
          Reporter: dmdtracker at 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.

https://github.com/D-Programming-Language/druntime/pull/1537

--


More information about the Digitalmars-d-bugs mailing list