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

Scheduler Callables noexcept #20826

Open
wants to merge 4 commits into
base: devel
Choose a base branch
from
Open

Conversation

maierlars
Copy link
Collaborator

@maierlars maierlars commented Apr 9, 2024

Scope & Purpose

This PR requires every lambda or callable that is posted on the scheduler to be noexcept. Previously the scheduler could do nothing more than logging an error message. The user code has much more context on how to handle exceptions than the scheduler. Also, it does not simply swallow any exception and leaves the server in an potentially undefined state.

@maierlars maierlars added this to the devel milestone Apr 9, 2024
@maierlars maierlars self-assigned this Apr 9, 2024
@maierlars maierlars requested review from a team as code owners April 9, 2024 12:24
@cla-bot cla-bot bot added the cla-signed label Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant