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

initialize a thread's exception state to a default state #776

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

mflatt
Copy link
Contributor

@mflatt mflatt commented Dec 7, 2023

Fixes #452.

The former behavior was to inherit the exception state of the creating thread, but that's confusing and unlike the treatment of winders, continuation, and continuation marks.

The implementation moves the handler stack from a thread parameter to a dedicated tc slot so that the kernel can initialize the slot for a new thread.

The former behavior was to inherit the exception state of the creating
thread, but that's confusing and unlike the treatment of winders,
continuation, and continuation marks.
Copy link
Contributor

@burgerrg burgerrg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for making this important change!

@mflatt mflatt merged commit 541b91a into cisco:main Dec 8, 2023
13 checks passed
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

Successfully merging this pull request may close these issues.

Child thread should not inherit the exception handler stack
2 participants