marl icon indicating copy to clipboard operation
marl copied to clipboard

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

Open feverzsj opened this issue 1 year ago • 1 comments

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.

feverzsj avatar Dec 06 '23 05:12 feverzsj

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.

ben-clayton avatar Dec 06 '23 11:12 ben-clayton