forked from ldc-developers/druntime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for SjLj style exceptions in Fibers
Exception handling based on setjmp/longjmp tracks the unwind points with a linked list stack managed by _Unwind_SjLj_Register and _Unwind_SjLj_Unregister. In the context of Fibers, the stack needs to be Fiber local, otherwise unwinding could weave through functions on other Fibers as opposed to just the current Fiber.
- Loading branch information
Showing
1 changed file
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters