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
jake
fe2dcb9453
io: increase MAX_BUF
from 16384 to 2MiB ( #5397 )
2023-01-27 13:50:55 +01:00
Chris Wailes
c90757f07a
tests: condition unwinding tests on cfg(panic = "unwind")
( #5384 )
2023-01-21 11:12:24 +01:00
Taiki Endo
f3f8e4f17f
chore: update nix to 0.26 ( #5385 )
2023-01-21 12:17:04 +09:00
Carl Lerche
42bec96189
Merge branch 'tokio-1.24.x' into master
2023-01-17 12:59:09 -08:00
Carl Lerche
4f6a95badc
chore: prepare Tokio v1.24.2 release
2023-01-17 12:26:13 -08:00
Carl Lerche
3d33610ed2
Merge branch 'tokio-1.20.x' into tokio-1.24.x
2023-01-17 12:25:05 -08:00
Carl Lerche
38a9c6c1a5
Merge branch 'tokio-1.20.x' into master
2023-01-17 11:24:22 -08:00
Carl Lerche
f3ce29a003
chore: prepare Tokio v1.20.4 release
tokio-1.20.4
2023-01-17 11:09:42 -08:00
Carl Lerche
0d8fe5fe75
Merge branch 'tokio-1.18.x' into tokio-1.20.x
2023-01-17 11:08:06 -08:00
Taiki Endo
171ce0ff8d
chore: prepare Tokio v1.18.5 release
tokio-1.18.5
2023-01-17 23:00:38 +09:00
Taiki Endo
d6ea7a742b
Add T: Unpin
bound to ReadHalf::unsplit
2023-01-17 21:53:54 +09:00
Alice Ryhl
06f1a601bb
task: clarify doc about tasks starting immediately ( #5364 )
2023-01-14 11:11:45 -08:00
Taiki Endo
40782efb76
tokio: fix remaining issues about atomic_u64_static_once_cell.rs ( #5374 )
...
Fixes #5373
Closes #5358
- Add check for no_atomic_u64 & no_const_mutex_new (condition to atomic_u64_static_once_cell.rs is compiled)
- Allow unused_imports in TARGET_ATOMIC_U64_PROBE. I also tested other *_PROBE and found no other errors triggered by -D warning.
- Fix cfg of util::once_cell module
2023-01-14 11:11:05 -08:00
Steven Fackler
c390a62387
Add broadcast::Sender::len ( #5343 )
...
* Add broadcast::Sender::len
* Add a randomized test for broadcast::Sender::len
* fix wasm build
* less silly cfg
* review feedback
* grammar?
2023-01-12 13:53:31 -05:00
Tymoteusz Wiśniewski
f9dbfa8251
net: improve from_std
docs regarding non-blocking IO ( #5332 )
2023-01-11 12:56:27 +00:00
Alice Ryhl
31c7e82919
chore: prepare Tokio v1.24.1 ( #5357 )
tokio-1.24.1
2023-01-06 10:48:42 +00:00
David Tolnay
8d8db27442
tokio: add load and compare_exchange_weak to loom StaticAtomicU64 ( #5356 )
2023-01-06 15:19:31 +09:00
Carl Lerche
dfe252d1fa
chore: prepare Tokio v1.24.0 release ( #5353 )
tokio-1.24.0
2023-01-05 11:20:35 -08:00
Paul Loyd
21b233fa9c
test: bump version of async-stream ( #5347 )
2023-01-05 11:02:07 +01:00
Carl Lerche
72993044e6
Merge branch 'tokio-1.23.x' into master
2023-01-04 11:36:07 -08:00
Carl Lerche
1a997ffbd6
chore: prepare Tokio v1.23.1 release
tokio-1.23.1
2023-01-04 10:32:38 -08:00
Carl Lerche
a8fe333cc4
Merge branch 'tokio-1.20.x' into tokio-1.23.x
2023-01-03 15:06:02 -08:00
Carl Lerche
ba81945ffc
chore: prepare Tokio 1.20.3 release
tokio-1.20.3
2023-01-03 13:28:44 -08:00
Carl Lerche
763bdc967e
ci: run WASI tasks using latest Rust
...
This should let CI to pass.
2023-01-03 13:28:43 -08:00
Carl Lerche
9f98535877
Merge remote-tracking branch 'origin/tokio-1.18.x' into fix-named-pipes-1.20
2023-01-03 13:12:20 -08:00
Carl Lerche
9241c3eddf
chore: prepare Tokio v1.18.4 release
tokio-1.18.4
2023-01-03 13:06:27 -08:00
Carl Lerche
699573d550
net: fix named pipes server configuration builder
...
The `pipe_mode` function would erase any previously set configuration
option that is specified using the pipe_mode fit field. This patch fixes
the builder to maintain the bit field when changing the pipe mode.
2023-01-03 13:06:27 -08:00
Carl Lerche
c6552c5680
rt: use internal ThreadId implementation ( #5329 )
...
The version provided by `std` has limitations, including no way to try
to get a thread ID without panicking.
2022-12-30 15:17:35 -08:00
Carl Lerche
048049f888
rt: move task::Id into its own file ( #5327 )
...
This is a minor internal cleanup.
2022-12-30 10:49:45 -08:00
Taiki Endo
98d484e29c
ci: update cargo-check-external-types to 0.1.6 ( #5325 )
2022-12-30 19:03:44 +09:00
Taiki Endo
ef0224246b
tests: fix SB violation in LeakedBuffers ( #5322 )
2022-12-29 11:46:08 +09:00
icedrocket
4a4f80ca70
fs: use chunks in fs::read_dir
( #5309 )
2022-12-28 12:06:46 +01:00
Hyeonu Park
9af2f5ee59
io: optimize shutdown check on I/O operations ( #5300 )
...
The global flag remains and is used to prevent duplicated shutdowns and
new io operations after shutdown.
On shutdown, the driver flips the shutdown flag of every pending io
operations and wake them to fail with a shutdown error.
Fixes : #5227
2022-12-27 10:40:41 -08:00
Taiki Endo
b75dba6904
ci: update Swatinem/rust-cache action to v2 ( #5320 )
2022-12-28 02:20:12 +09:00
Lencerf
353e5cabb8
process: fix typo in process:
👿 :Pipe comment ( #5314 )
...
Signed-off-by: Changyuan Lyu <changyuanl@google.com>
2022-12-27 15:50:12 +00:00
Alice Ryhl
8d58dc85b5
sync: document that there is no spsc and spmc channel ( #5306 )
2022-12-27 16:24:50 +01:00
Taiki Endo
519afd4458
ci: remove uses of unmaintained actions-rs actions ( #5316 )
...
- Use dtolnay/rust-toolchain instead of actions-rs/toolchain
- Use cargo/cross directly instead of actions-rs/cargo
- Use rustsec/audit-check instead of actions-rs/audit-check
2022-12-28 00:06:56 +09:00
Pure White
682e93df93
rt: read environment variable for worker thread count ( #4250 )
2022-12-21 15:43:35 +01:00
Alice Ryhl
b9ae7e6659
signal: remove redundant Pin around globals ( #5303 )
2022-12-18 09:42:59 +01:00
Abutalib Aghayev
d9e0f66113
task: rename State::has_join_waker
to State::is_join_waker_set
( #5248 )
2022-12-17 22:34:12 +01:00
Alice Ryhl
6b3727d580
metrics: make num_idle_blocking_threads
test less flaky ( #5302 )
2022-12-17 19:06:30 +01:00
Jason Orendorff
e14ca72e68
test-util: don't auto-advance time when a spawn_blocking
task is running ( #5115 )
2022-12-17 13:02:18 +01:00