Boost logo

Boost Users :

Subject: Re: [Boost-users] [context] Crash in case of exception from a context
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2015-03-14 05:12:22


2015-03-14 6:37 GMT+01:00 Nathaniel Fries <nfries88_at_[hidden]>:

> The solution is actually pretty simple - push the current SEH list's head
> onto the stack before the context switch, and restore it when resuming
> execution, with each context initializing its own list with
> UnhandledExceptionFilter during either construction or first run (like a
> new thread would). But maybe such a fix is out of scope for the context
> library?l
>

boost.context already installs SEH structures on the stack - the unit-tests
of boost.context already check throwing/catching exceptions ->
http://www.boost.org/development/tests/master/developer/context.html
http://www.boost.org/development/tests/develop/developer/context.html



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net