Boost logo

Boost :

Subject: Re: [boost] [Review] Coroutine : Christopher's Review
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2012-09-07 03:09:27


On 06.09.2012 21:01, Oliver Kowalke wrote:
>> not use any exceptions whatsoever. I spent two solid
>> hours removing all traces of exceptions while embedding
>> Coroutine. The result was a lightweight mechanism
>> that only costed a few kilobytes of program code.
> 4) Furthermore, the lightweight version should not
> Some of the exceptions are replaced by assertions (pre-conditions) -
> one exception 'stack_unwind' is required in order to unwind the stack.
> The question is how to unwind the stack without throwing exceptions.
> Of course there is the Itanium unwind API but not all compiler provide
> it (gcc does, pgi not).
Is there a point? I was under the impression that the heavy part of
exception handling is the unwind tables, so if you get rid of that, you
can't use unwind anyway.

Sebastian


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk