Alice Ryhl
d44b1ca9c8
io: ignore SplitByUtf8BoundaryIfWindows test on miri ( #5507 )
...
These tests take a very long time under miri, but the code they're
testing isn't unsafe, so there isn't any reason to run them under miri.
2023-02-26 21:44:44 +00:00
Eric McBride
e23c6f3935
signal: updated Documentation for Signals ( #5459 )
2023-02-26 19:43:41 +00:00
Alice Ryhl
0a50cb3baa
net: fix test compilation failure ( #5506 )
2023-02-26 19:06:08 +00:00
Christopher Hunt
2298679af4
runtime: document the nature of the main future ( #5494 )
2023-02-26 16:48:56 +01:00
Chris Brody
cadcd5da5e
fs: add more tests for filesystem functionality ( #5493 )
2023-02-26 16:48:09 +01:00
Adrian Heine né Lang
ca9f7ee9f4
macros: fix empty join! and try_join! ( #5504 )
...
Fixes : #5502
2023-02-25 18:06:17 +01:00
Hayden Stainsby
c89406965f
sync: document drop behavior for channels ( #5497 )
...
Some users mentioned that the behavior of a channel when the receivers
and/or senders are dropped isn't explicitly documented.
This change adds wording to the documentation for each channel in the
sync module, explaining under which conditions messages in a channel are
dropped with respect to dropping the senders and the receivers.
Refs: #5490
2023-02-23 11:04:12 +01:00
Predrag Gruevski
cf486361d0
ci: remove cargo-semver-checks flags that are no longer necessary ( #5496 )
...
These flags were previously only needed due to a bug in the `cargo-semver-checks` CLI logic.
The correct behavior (available as of v0.18.3) for `cargo-semver-checks` is to ignore `publish = false` crates when scanning a workspace, *unless* those crates are specifically selected for checking.
All the crates being excluded here are `publish = false` so they are already excluded by the default behavior, so all `--exclude` flags are no-ops.
2023-02-22 18:54:17 +00:00
Alice Ryhl
d7b7c61317
tokio: document supported platforms ( #5483 )
2023-02-21 19:57:19 +01:00
Kevin (Kun) "Kassimo" Qian
12f81ffa61
fs: add fs::try_exists ( #4299 )
2023-02-21 14:15:54 +01:00
Alice Ryhl
3ea5cc5a82
stream: fix changelog for 0.1.12 ( #5488 )
2023-02-20 16:19:56 +00:00
Konrad Borowski
fa31cd9990
io: use poll_fn in copy_bidirectional ( #5486 )
2023-02-20 15:38:40 +01:00
Alice Ryhl
46f974d8cf
chore: prepare tokio-stream v0.1.12 ( #5484 )
tokio-stream-0.1.12
2023-02-20 10:18:18 +01:00
Alice Ryhl
018d0450c7
io: improve AsyncFd example ( #5481 )
2023-02-19 23:40:56 +01:00
Alice Ryhl
ee09e04c31
sync: drop wakers after unlocking the mutex in Notify ( #5471 )
2023-02-19 22:16:24 +01:00
Chris Brody
d07027f5bc
sync: add WatchStream::from_changes ( #5432 )
2023-02-19 16:16:12 +01:00
Alice Ryhl
2e0372be6f
sync: add MappedOwnedMutexGuard ( #5474 )
2023-02-19 14:12:32 +01:00
Tymoteusz Wiśniewski
eca24068f7
sync: fix docs for Send/Sync bounds in broadcast ( #5480 )
2023-02-19 14:11:42 +01:00
Tymoteusz Wiśniewski
795754a846
sync: make notify_waiters calls atomic ( #5458 )
2023-02-19 14:10:38 +01:00
Alice Ryhl
0f17d69303
ci: remove PROPTEST_CASES from miri ( #5478 )
...
This option doesn't do anything anymore.
2023-02-19 11:11:22 +00:00
Maximilian Hils
2e7f996f17
net: refactor named pipe builders to not use bitfields ( #5477 )
2023-02-19 11:59:28 +01:00
amab8901
901f6d26c6
sync: drop wakers outside lock in semaphore ( #5475 )
2023-02-19 11:16:59 +01:00
Maximilian Hils
a8fda87058
net: use Message Read Mode for named pipes ( #5350 )
2023-02-18 20:03:16 +01:00
tijsvd
d7abdbb315
benches: mutex contention in watch::Receiver bench ( #5472 )
2023-02-18 14:51:08 +00:00
Alice Ryhl
24aac0add3
sync: don't leak tracing spans in mutex guards ( #5469 )
2023-02-18 10:39:25 +01:00
Alice Ryhl
b921fe45ac
sync: reduce contention in watch channel ( #5464 )
2023-02-17 23:56:56 +01:00
Alice Ryhl
0dc1b71e6e
time: remove cache padding in timer entries ( #5468 )
2023-02-17 22:49:45 +01:00
Alice Ryhl
d19f2f2d39
sync: add doc aliases for blocking_* methods ( #5448 )
2023-02-17 16:23:57 +01:00
Christopher Hunt
e106c4d32b
benches: benchmark for things in block_on ( #5440 )
...
This additional benchmark exercises a common request/reply pattern using an MPSC for requests along with a oneshot payload as a reply mechanism. When used in a current threaded scenario, the bench is 17 times faster on my machine than when using the multi-threaded runtime and one worker thread. Not only that, but if I increase the number of worker threads to 6, performance degrades further.
Does this suggest a scheduling problem with the multi-threaded runtime?
No matter what, hopefully the benchmarks are a useful addition.
2023-02-14 23:05:10 +00:00
Tim de Jager
28d6f4d509
task: fix wording with 'unsend' ( #5452 )
2023-02-14 12:44:05 +00:00
Finomnis
d1da6c20d8
ci: always assume minor release in semver check ( #5455 )
2023-02-14 10:09:59 +01:00
Alice Ryhl
e629ad7c9a
chore: prepare tokio-util v0.7.7 ( #5451 )
tokio-util-0.7.7
2023-02-12 12:42:38 +01:00
Alice Ryhl
36fdccc3bc
util: Revert "remove Encoder bound on FramedParts constructor" ( #5450 )
...
This reverts commit ae69d11d1f .
2023-02-12 11:55:41 +01:00
Alice Ryhl
01bb1ecf4d
chore: prepare tokio-util v0.7.6 ( #5447 )
tokio-util-0.7.6
2023-02-10 10:48:36 +01:00
Alice Ryhl
36d2233579
chore: fix dependency on Tokio ( #5445 )
2023-02-10 10:13:37 +01:00
Alice Ryhl
74fb9e387a
chore: prepare tokio-util v0.7.5 ( #5442 )
tokio-util-0.7.5
2023-02-09 17:35:53 +01:00
Alice Ryhl
8b44077ebc
sync: make CancellationToken UnwindSafe ( #5438 )
2023-02-09 13:07:52 +01:00
Caio
d6dbefcdc0
sync: mark lock guards with #[clippy::has_significant_drop] ( #5422 )
2023-02-09 11:20:09 +01:00
Conrad Ludgate
d96bbf0465
time: don't store deadline twice in sleep entries ( #5410 )
2023-02-09 11:19:02 +01:00
Taiki Endo
09b2653e71
chore: update windows-sys to 0.45 ( #5386 )
2023-02-09 11:16:12 +01:00
Valentin
061325ba7e
task: clarify what happens to spawned work during runtime shutdown ( #5394 )
2023-02-09 11:14:01 +01:00
Nathaniel Brough
d7d5d05333
tests: port proptest fuzz harnesses to use cargo-fuzz ( #5392 )
...
This change ports fuzz tests from the black-box fuzzing framework,
proptest-rs over to use the grey-box fuzzing framework cargo-fuzz.
Refs: #5391
2023-02-09 11:08:50 +01:00
Finomnis
1dcfe1cc9b
ci: add semver checking to CI ( #5437 )
2023-02-08 16:45:02 +01:00
Dmitry Ivanov
5653b4583c
io: remove erroneous wake call in SinkWriter ( #5436 )
2023-02-07 18:32:27 +00:00
Carl Lerche
abf5d28f2c
rt: remove Arc from Clock ( #5434 )
...
This patch removes `Arc` from Tokio's internal clock source. Instead of
cloning `Clock` when needed, a reference is passed into functions that
need to get the current instant.
2023-02-07 09:45:14 -08:00
Taiki Endo
a7945b469d
ci: update Cirrus CI config ( #5428 )
...
* Use image_family for FreeBSD image in Cirrus CI
* Do not trigger Cirrus CI on branches other than master and tokio-.*
2023-02-07 03:58:19 +09:00
mTsBucy1
80ec80165b
task: clarify process::Command docs ( #5406 ) ( #5413 )
2023-01-30 16:47:04 +01:00
Steven Fackler
88b1eb54fb
chore: prepare Tokio v1.25.0 release ( #5408 )
tokio-1.25.0
2023-01-29 22:44:31 +01:00
Jonathan Schwender
1f50c57185
metrics: fix steal_count docs, add steal_operations ( #5330 )
2023-01-27 20:44:47 +01:00
Flavio Moreira
a18b3645f3
chore: update year in LICENSE files ( #5402 )
2023-01-27 16:05:48 +01:00