www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Fiber.yield with call scope guard

I am look a method like Fiber.yieldAndThrow, but also call all 
scopeguard.

I am hack Fiber into struct with no throw,  try to use it on 
network project with high performance.

I use scopeguard to auto release memory or resource,  but when I 
call Fiber .yieldAndThrow the scopeguard chain will not be call.


If there a is some Asm code to jump call scopeguard will solve 
the problem.

the other solution will be try catch use with exception, and the 
code will not be able to work under BetterC.
Dec 29 2017