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

Does marl support switching context while unwinding stack? i.e. is it exception safe? #263

Open
feverzsj opened this issue Dec 6, 2023 · 1 comment

Comments

@feverzsj
Copy link

feverzsj commented Dec 6, 2023

I know windows fiber is exception safe with proper compiler flags. But gcc/llvm based implementations typically require save/restore cxa global states while switching context to assure correct exception behaviour, which I didn't find in the source.

@ben-clayton
Copy link
Member

Probably not. I'm not aware of marl being used in any project with exceptions enabled, and I certainly didn't consider exceptions during implementation. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants