Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
0292eef
Add CancellationToken
Matthias247 Feb 20, 2020
158f2f9
Run unit-tests not under loom
Matthias247 Feb 20, 2020
a5e5b93
Unregister from parent token only if it's the last reference
Matthias247 Feb 20, 2020
bcaa2f5
Remove parent reference count when unregistering from it
Matthias247 Feb 20, 2020
e2dc183
unregister from parent after refcount reached 0
Matthias247 Feb 20, 2020
96d0910
Update tokio/src/util/intrusive_double_linked_list.rs
Matthias247 Feb 21, 2020
ba7eeba
Update tokio/src/util/intrusive_double_linked_list.rs
Matthias247 Feb 21, 2020
1490096
Drop parent ref outside of Mutex
Matthias247 Feb 23, 2020
23a1d09
Add more tests for the refcounts of the CancellationToken
Matthias247 Feb 23, 2020
e67257f
f
Matthias247 Feb 23, 2020
53a6a88
store the parent before decrementing the refcount on the child
Matthias247 Feb 23, 2020
126b37e
Fix backward link between child tokens
Matthias247 Feb 24, 2020
9dce96c
Fix has_refs
Matthias247 Feb 24, 2020
53bf8bb
Use a maximum of 3 threads in loom tests
Matthias247 Feb 24, 2020
aa3d098
Move CancellationToken into scope
Matthias247 Feb 24, 2020
aded3f9
Fix rustfmt and clippy warnings
Matthias247 Feb 24, 2020
6e40034
Fix more clippy and rustfmt errors
Matthias247 Feb 24, 2020
93df33f
Fix loom test location
Matthias247 Feb 24, 2020
a23aa0d
Rename wait_for_cancellation to cancelled
Matthias247 Apr 23, 2020
e2f303b
Move public types to the top
Matthias247 Apr 23, 2020
02b3d4d
Move CancellationToken into sync module
Matthias247 Apr 30, 2020
3becd46
remove scope feature
Matthias247 Apr 30, 2020
5156d84
CI bump
carllerche May 2, 2020
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
1 change: 1 addition & 0 deletions tokio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ optional = true
[dev-dependencies]
tokio-test = { version = "0.2.0", path = "../tokio-test" }
futures = { version = "0.3.0", features = ["async-await"] }
futures-test = "0.3.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we pull what you use in here into tokio-test?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only imports count_waker, since I didn't want to write it myself and it adds some value in the tests. Could be integrated into tokio too.

proptest = "0.9.4"
tempfile = "3.1.0"

Expand Down
Loading