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

sync: add tokio_util::sync::TaskTracker #6033

Merged
merged 27 commits into from
Oct 22, 2023
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
cd3673c
sync: add `tokio_util::sync::TaskTracker`
Darksonn Sep 23, 2023
8896e84
fmt
Darksonn Sep 23, 2023
6a6d32a
add Default impl
Darksonn Sep 23, 2023
127732f
fixup imports without rt
Darksonn Sep 23, 2023
9c8470f
disable spawn_blocking on wasm
Darksonn Sep 23, 2023
c3ffa6d
Add note about clone
Darksonn Sep 23, 2023
d1a442f
Remove repr(transparent)
Darksonn Sep 23, 2023
aff05ad
Fix wait when already done but reopened
Darksonn Sep 23, 2023
b38d0b5
Add note about is_finished
Darksonn Sep 24, 2023
eacce01
fmt
Darksonn Sep 24, 2023
8c88edf
Merge branch 'master' into alice/task-tracker
Darksonn Sep 24, 2023
c98ba61
apply review
Darksonn Sep 30, 2023
2f1bf69
Move to task module
Darksonn Sep 30, 2023
d0e76f1
Address review
Darksonn Oct 11, 2023
66f747e
Changes to Clone
Darksonn Oct 11, 2023
272a024
Remove #[must_use]
Darksonn Oct 11, 2023
6c1fc98
fix import
Darksonn Oct 11, 2023
50415c9
fix doctest for real
Darksonn Oct 11, 2023
7f6288f
Update documentation according to review from @davidbarsky
Darksonn Oct 14, 2023
572d230
fix typo
Darksonn Oct 14, 2023
b44e3a2
Add documentation to `impl Clone for TaskTracker`
Darksonn Oct 14, 2023
a9b0fd9
Add another link to the graceful shutdown page
Darksonn Oct 14, 2023
78159df
Simplify sentence about JoinSet
Darksonn Oct 14, 2023
c1a240d
Reflow paragraph without changing text
Darksonn Oct 14, 2023
fa90ec8
Document cancel safety
Darksonn Oct 14, 2023
f4fa4a7
Merge 'master' into 'alice/task-tracker'
Darksonn Oct 22, 2023
30a0d8d
Reword ABA problem
Darksonn Oct 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tokio-util/src/sync/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ pub use cancellation_token::{
guard::DropGuard, CancellationToken, WaitForCancellationFuture, WaitForCancellationFutureOwned,
};

pub mod task_tracker;
pub use task_tracker::TaskTracker;
Darksonn marked this conversation as resolved.
Show resolved Hide resolved

mod mpsc;
pub use mpsc::{PollSendError, PollSender};

Expand Down
Loading
Loading