-
Notifications
You must be signed in to change notification settings - Fork 4k
Add per-session thread pool work callbacks API #27253
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
Merged
sdotpeng
merged 20 commits into
microsoft:main
from
sdotpeng:sdotpeng/ThreadPoolCallbacks
Mar 30, 2026
Merged
Changes from 16 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
a0ebc36
Experiment
f7e983a
Delete WrapTaskWithCallbacks
2c76396
Add C++ api and update tests
bb5434b
Add C API test for SetGlobalCallbacks
c9efdf7
Cleanup
4cdf234
Use per session TP for callbacks + Cleanup
1236ed5
Add on_abandon for enqueue_data leak risk
27c7d5d
Address Copilot feedback
c3c5838
Address PR comments
5b6207e
Apply lintrunner
55f2c7e
Merge remote-tracking branch 'origin/main' into sdotpeng/ThreadPoolCa…
fc3c108
Refactor EigenNonBlockingThreadPool.h to use policy-based design
0daca02
Small fix on std::move(fn)
3328734
Address PR feedback (versioned struct, code duplication, readability,…
071c306
Address PR feeback + template RunQueue for better readbility for aban…
6d846f0
Address PR feedback (reusing struct, add documents, misc.)
2030d08
Apply lintrunner
9ee1d78
Address PR feedback (compiler flag rename, comments, misc.)
6fd3fe4
Apply lintrunner
23743b5
Address PR feedback (remove unused function)
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.