druntime
druntime copied to clipboard
Make rt_trapExceptions apply to fibers as well
Fix | Bugzilla | Description |
---|---|---|
✓ | 15895 | Make rt_trapExceptions apply to fibers as well |
Ping.
Ping
It would be nice to get some feedback or at least any reaction to this.
@MartinNowak trying a direct hilight
So, I'm not as confident here because I don't use fibers but I think it is a good idea too.
@MartinNowak ping ping ping
One potential issue I see here is that Fiber.call
actually documents how unhandled exceptions are treated (calling context resumes), and it even has a switch to set that behaviour. Is rt_trapExceptions actually documented anywhere?
Only documentation I know of for this is
https://github.com/dlang/druntime/blob/15a227477a344583c4748d95492703901417f4f8/src/rt/dmain2.d#L142-L144
I can change the docu for Fiber.call
to mention the behavior when rt_trapExceptions is set