Skip to content

Quit other thread#1665

Merged
Bike merged 5 commits intomainfrom
quit-other-thread
Feb 10, 2025
Merged

Quit other thread#1665
Bike merged 5 commits intomainfrom
quit-other-thread

Conversation

@Bike
Copy link
Member

@Bike Bike commented Feb 10, 2025

Allows quit and friends to be called from threads other than the main one without causing one of those stupid "unknown exception" errors. While I was at it I fixed up our exceptions to actually be std::exceptions, so uncaught exception bugs should be a little more scrutable.

Bike added 5 commits February 10, 2025 10:33
Not sure what it was for. We can call mangled-symbols directly if
it's really necessary (e.g. with --eval). Having this in there
complicates process exit. Unnecessary cross cutting concerns shall die.
Throwing an exception makes it difficult on other threads than the
main one - it throws an exception which is not caught, which does
end the program but with a hard to understand error.
should cut down on the "unknown exception" crash messages
@Bike Bike merged commit 4906174 into main Feb 10, 2025
8 of 9 checks passed
@Bike Bike deleted the quit-other-thread branch February 10, 2025 19:09
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.

1 participant