Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Context: SIGSEGV when switch a thread within a catch block
From: Александр Пронченков (alexander_at_[hidden])
Date: 2017-01-02 03:56:14


Hi Oliver,

Thanks for your relay. Do you mean this statement in the documentation?

[image: [Important]]Important

Do not jump from inside a catch block and then re-throw the exception in
another execution context.

It's a bit unclear for me because I don't re-throw the exception neither in
one execution context nor in another.

Do you know how to address this issue? Is it addressed in Boost.Coroutines2?

In my case I play with a green-threads runtime and this limitation means
that I can't use asynchronous operations within exception handlers. It
looks artificial and also requires checks/modifications of the existing
code to make it compatible. :(

--
Thanks,
Alexander Pronchenkov
On Mon, 2 Jan 2017 at 08:31, Oliver Kowalke <oliver.kowalke_at_[hidden]>
wrote:
> not permitted - see
> http://www.boost.org/doc/libs/1_63_0/libs/context/doc/html/context/ecv2.html
>
>
> _______________________________________________
>
> Boost-users mailing list
>
> Boost-users_at_[hidden]
>
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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