Repository navigation
std: use _exit for process::exit
#165125
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
base: main
Are you sure you want to change the base?
std: use _exit for process::exit
#165125
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please make the test call |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,3 @@ exiting thread | |
| dtor 1 | ||
| dtor 2 | ||
| exiting main | ||
| registering dtor in dtor 3 | ||
| dtor 4 | ||
| dtor 5 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems worth a comment in the test that |
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should still do the "yield 100 times" thing here that
exitdoes, by invokingreplace_active_thread_stack. Looks likeExitType::ExitCalledneeds a field saying whether atexit handlers should be invoked.I can handle that if you prefer.
View changes since the review