-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Expose task ID in task dumps #6313
Labels
A-tokio
Area: The main tokio crate
C-feature-request
Category: A feature request.
M-taskdump
--cfg tokio_taskdump
Comments
jswrenn
added
A-tokio
Area: The main tokio crate
C-feature-request
Category: A feature request.
M-taskdump
--cfg tokio_taskdump
labels
Jan 30, 2024
@Darksonn I see that Tokio already has something called tokio/tokio/src/runtime/task/core.rs Lines 137 to 146 in 131e7b4
...but I can't immediately follow how to go from a |
See: tokio/tokio/src/runtime/task/join.rs Lines 297 to 311 in 131e7b4
|
jswrenn
added a commit
to jswrenn/tokio
that referenced
this issue
Feb 5, 2024
Task `Id`s provide a semi-stable identifier for monitoring task state across task dumps. Fixes tokio-rs#6313
Darksonn
pushed a commit
that referenced
this issue
Feb 5, 2024
Task `Id`s provide a semi-stable identifier for monitoring task state across task dumps. Fixes #6313
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-tokio
Area: The main tokio crate
C-feature-request
Category: A feature request.
M-taskdump
--cfg tokio_taskdump
Is your feature request related to a problem? Please describe.
There is presently no mechanism for following the state of a task between successive dumps.
Describe the solution you'd like
Task dumps should include task IDs. It is probably permissible for these IDs to be occasionally recycled.
The text was updated successfully, but these errors were encountered: