December 30Fiber.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.
Copyright © 1999-2018 by the D Language Foundation