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 ->

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at