Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't crash on pthread_cancel #28

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
2 participants
@justinasvd
Copy link

commented Mar 13, 2019

This patch prevents abi::__forced_unwind from being eaten and avoids a FATAL: exception not rethrown error. This, however, is only part of the solution for the problem, since additional support is also needed from the context here.

#if defined( BOOST_COROUTINES2_HAS_CXXABI_H )
# include <cxxabi.h>
#endif

This comment has been minimized.

Copy link
@justinasvd

justinasvd Mar 14, 2019

Author

Personally, I think that this config knob should be in Boost.Context, and the BOOST_COROUTINES2_HAS_CXXABI_H should be called BOOST_CONTEXT_HAS_CXXABI_H, but I didn't want to spread this patch over two repos.

olk added a commit that referenced this pull request Mar 14, 2019

Don't crash on pthread_cancel
- in context of #28

Justinas V. Daugmaudis: This patch prevents abi::__forced_unwind from being eaten
@olk

This comment has been minimized.

Copy link
Member

commented Mar 14, 2019

ty - I've split the pull request

@olk olk closed this Mar 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.