Skip to content

let ThreadPoolExecutor observer callbacks be noexcept#530

Closed
yfeldblum wants to merge 1 commit intov2-betafrom
export-D96358302-to-v2-beta
Closed

let ThreadPoolExecutor observer callbacks be noexcept#530
yfeldblum wants to merge 1 commit intov2-betafrom
export-D96358302-to-v2-beta

Conversation

@yfeldblum
Copy link
Copy Markdown

Summary: If observer callbacks were permitted to fail, then the behavior being observed would have to handle that failure. But that can get complicated. Easier to require observer callbacks not to fail.

Reviewed By: iahs, ot

Differential Revision: D96358302

Summary: If observer callbacks were permitted to fail, then the behavior being observed would have to handle that failure. But that can get complicated. Easier to require observer callbacks not to fail.

Reviewed By: iahs, ot

Differential Revision: D96358302
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 18, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Mar 18, 2026

@yfeldblum has exported this pull request. If you are a Meta employee, you can view the originating Diff in D96358302.

meta-codesync bot pushed a commit to facebook/folly that referenced this pull request Mar 19, 2026
Summary:
X-link: facebookresearch/DCPerf#530

If observer callbacks were permitted to fail, then the behavior being observed would have to handle that failure. But that can get complicated. Easier to require observer callbacks not to fail.

Reviewed By: iahs, ot

Differential Revision: D96358302

fbshipit-source-id: e1211349a62c4a133b2410f5489c4d6b2a895c51
meta-codesync bot pushed a commit to facebook/wangle that referenced this pull request Mar 19, 2026
Summary:
X-link: facebookresearch/DCPerf#530

If observer callbacks were permitted to fail, then the behavior being observed would have to handle that failure. But that can get complicated. Easier to require observer callbacks not to fail.

Reviewed By: iahs, ot

Differential Revision: D96358302

fbshipit-source-id: e1211349a62c4a133b2410f5489c4d6b2a895c51
meta-codesync bot pushed a commit to facebook/proxygen that referenced this pull request Mar 19, 2026
Summary:
X-link: facebookresearch/DCPerf#530

If observer callbacks were permitted to fail, then the behavior being observed would have to handle that failure. But that can get complicated. Easier to require observer callbacks not to fail.

Reviewed By: iahs, ot

Differential Revision: D96358302

fbshipit-source-id: e1211349a62c4a133b2410f5489c4d6b2a895c51
meta-codesync bot pushed a commit that referenced this pull request Mar 19, 2026
Summary:
Pull Request resolved: #530

If observer callbacks were permitted to fail, then the behavior being observed would have to handle that failure. But that can get complicated. Easier to require observer callbacks not to fail.

Reviewed By: iahs, ot

Differential Revision: D96358302

fbshipit-source-id: e1211349a62c4a133b2410f5489c4d6b2a895c51
@YifanYuan3 YifanYuan3 closed this Mar 24, 2026
meta-codesync bot pushed a commit to facebook/hhvm that referenced this pull request Mar 24, 2026
Summary:
X-link: facebookresearch/DCPerf#530

If observer callbacks were permitted to fail, then the behavior being observed would have to handle that failure. But that can get complicated. Easier to require observer callbacks not to fail.

Reviewed By: iahs, ot

Differential Revision: D96358302

fbshipit-source-id: e1211349a62c4a133b2410f5489c4d6b2a895c51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants