RFC: reference counted Throwable

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 20 07:33:20 PDT 2014


On Saturday, 20 September 2014 at 14:31:36 UTC, Adam D. Ruppe 
wrote:
> How often do you store an exception reference anyway that 
> escapes a catch block? I think all this talk is overkill to 
> solve a non-problem in 99% of practice.

Pretty much any time you do fibers + async I/O : to emulate 
blocking API one needs to catch and store exceptions from I/O 
routines so that later those can be re-thrown from resumed fiber 
context.


More information about the Digitalmars-d mailing list