noah
200cd93a9b
add actions
2025-05-04 10:55:03 -05:00
Noah Kennedy
77eb27a9fb
lol
2025-05-02 17:21:31 -05:00
Noah Kennedy
a70726cbc7
debug assertions properly
2025-05-02 16:31:24 -05:00
Noah Kennedy
2769520afe
fix docs
2025-05-02 16:30:42 -05:00
Noah Kennedy
dd6c1b72c0
loom release
2025-05-02 16:24:43 -05:00
Noah Kennedy
eb54da46f5
dont add release
2025-05-02 15:40:06 -05:00
Noah Kennedy
855be676da
try lloyd's fix
2025-05-02 15:34:41 -05:00
Noah Kennedy
ef9fcf999d
fix some loom issues
2025-05-02 15:03:51 -05:00
noah
0095c7fe29
rt: overhaul task hooks
...
This change overhauls the entire task hooks system so that users can propagate arbitrary information between task hook invocations and pass context data between the hook "harnesses" for parent and child tasks at time of spawn.
This is intended to be significantly more extensible and long-term maintainable than the current task hooks system, and should ultimately be much easier to stabilize.
2025-05-02 15:01:32 -05:00
Suryakant Soni
a0af02a396
compat: add more documentation to tokio_util::compat
( #7279 )
2025-04-28 16:20:47 +02:00
Owen Leung
0ce3a1188a
metrics: stabilize worker_park_count
and worker_unpark_count
( #7276 )
2025-04-28 11:11:33 +02:00
Alice Ryhl
1ea9ce11d4
ci: fix cfg!(miri) declarations in tests ( #7286 )
2025-04-24 14:50:19 +02:00
Alice Ryhl
4d4d12613b
chore: prepare tokio-util v0.7.15 ( #7283 )
tokio-util-0.7.15
2025-04-23 13:13:48 +02:00
Alan Somers
5490267a79
fs: update the mockall dev dependency to 0.13.0 ( #7234 )
2025-04-23 11:13:10 +02:00
Nicholas Skinsacos
1434b32b5a
examples: improve echo example consistency ( #7256 )
2025-04-18 18:02:25 +03:30
Carl Lerche
159a3b2c85
rt(unstable): remove alt multi-threaded runtime ( #7275 )
...
The alternative multi-threaded runtime started as an experiment. We have been
unable to find real-world benefit. Work has halted on this effort, so lets get
rid of it.
2025-04-17 13:33:55 -07:00
M.Amin Rayej
ce87dcfbf0
runtime: document the queue behavior of spawn_blocking
( #7269 )
2025-04-17 22:49:29 +03:30
Yichi Zhang
d41d49d202
metrics: fix panic comment in max_error
docs ( #7273 )
2025-04-18 00:40:59 +09:00
Paul Mabileau
7a6c424f6e
process: add Command::spawn_with
( #7249 )
...
Signed-off-by: Paul Mabileau <paulmabileau@hotmail.fr>
2025-04-16 14:07:36 +02:00
Conrad Ludgate
c3037adac9
task: properly handle removed entries in JoinMap
( #7264 )
2025-04-15 16:33:20 +02:00
Nicholas Skinsacos
964fd06e0f
benches: add helper functions for building runtimes ( #7260 )
2025-04-14 12:23:00 +03:30
Paolo Barbolini
817fa605ee
fs: avoid some copies in tokio::fs::write
( #7199 )
2025-04-08 15:43:38 +02:00
Alex Bakon
77de684ed9
runtime: mark runtime::Handle
unwind-safe ( #7230 )
2025-04-08 13:38:04 +02:00
Alice Ryhl
83d550e511
changelog: fix release date of v1.44.2 ( #7248 )
2025-04-08 10:15:58 +02:00
Alice Ryhl
1b3d3e7cd6
Merge 'tokio-1.43.1-fix-release-date' into 'master' ( #7247 )
2025-04-08 10:15:23 +02:00
Alice Ryhl
9e044e144b
changelog: fix release date of v1.43.1 ( #7246 )
2025-04-08 10:04:13 +02:00
Alice Ryhl
cb08fbc6c3
Merge 'tokio-1.42.1' into 'tokio-1.43.x' ( #7245 )
2025-04-08 10:02:57 +02:00
Alice Ryhl
e59584a661
changelog: fix release date of v1.42.1 ( #7244 )
2025-04-08 09:51:07 +02:00
Alice Ryhl
f7fb0bdc7a
chore: prepare Tokio v1.42.1
tokio-1.42.1
2025-04-07 17:15:14 +02:00
Alice Ryhl
9faea740df
Merge 'tokio-1.38.x' into 'tokio.1.42.x'
2025-04-07 16:33:23 +02:00
Alan Somers
2a8c551631
tokio: update mio-aio dev dependency to 1.0 ( #7235 )
...
This eliminates a duplicate dependency on mio
2025-04-06 12:15:37 +02:00
Carl Lerche
676630785b
Merge branch 'tokio-1.44.x' into forward-port-1.44.x
2025-04-05 08:20:03 -07:00
Carl Lerche
ec4b1d7215
chore: forward port 1.43.x
tokio-1.44.2
2025-04-04 16:13:58 -07:00
Carl Lerche
e3c3a56718
Merge branch 'tokio-1.43.x' into forward-port-1.43.x
2025-04-04 16:11:53 -07:00
Carl Lerche
a7b658c35b
chore: prepare Tokio v1.43.1 release
tokio-1.43.1
2025-04-04 08:31:21 -07:00
Carl Lerche
c1c8d1033d
Merge remote-tracking branch 'origin/tokio-1.38.x' into forward-port-1.38.x
2025-04-04 08:18:13 -07:00
Carl Lerche
aa303bc205
chore: prepare Tokio v1.38.2 release
tokio-1.38.2
2025-04-02 21:58:38 -07:00
Carl Lerche
7b6ccb515f
chore: backport CI fixes
2025-04-02 14:34:28 -07:00
Carl Lerche
4b174ce2c9
sync: fix cloning value when receiving from broadcast channel
...
The broadcast channel does not require values to implement `Sync` yet it calls
the `.clone()` method without synchronizing. This is unsound logic. This patch
adds per-value synchronization on receive to handle this case. It is unlikely
any usage of the broadcast channel is currently at risk of the unsoundeness
issue as it requires accessing a `!Sync` type during `.clone()`, which would be
very unusual when using the broadcast channel.
2025-04-02 14:25:05 -07:00
jimmycathy
0ec4d0db4d
docs: remove redundant words in comment ( #7224 )
2025-03-16 18:08:25 +09:00
Jamie
d83ba30d8d
task: explicitly state that TaskTracker
does not abort tasks on Drop ( #7223 )
2025-03-14 14:48:54 +00:00
LongYinan
f339587b27
deps: update hashbrown to 0.15 ( #7219 )
2025-03-14 09:47:18 +01:00
Alice Ryhl
b663abe091
chore: update tokio-util version number ( #7215 )
tokio-util-0.7.14
2025-03-13 11:22:34 +01:00
Motoyuki Kimura
9a11efc262
chore: prepare tokio-util v0.7.14 ( #7215 )
2025-03-13 11:20:52 +01:00
Alice Ryhl
d760b26666
Merge tokio-1.44.1 into master ( #7218 )
2025-03-13 09:44:03 +01:00
Alice Ryhl
d413c9c02a
chore: prepare Tokio v1.44.1 ( #7217 )
tokio-1.44.1
2025-03-13 09:13:25 +01:00
Carl Lerche
addbfb9204
rt: skip defer queue in block_in_place
context ( #7216 )
2025-03-13 08:18:13 +01:00
Motoyuki Kimura
5687043328
test: remove unused dependencies ( #7214 )
2025-03-13 01:28:01 +09:00
Vitaly Shukela
72c87a7724
test: add io::Builder::name
for better panic messages ( #7212 )
...
Introduce tokio_test::io::Builder::name to configure
name of the mock object, to include in panic messages.
Also show number of remaining actions or action index
in some cases to help debugging failed tests.
2025-03-13 00:34:09 +09:00
Alphyr
8507e28f89
Remove an old custom OnceCell
implementation in favor of std
( #7208 )
2025-03-11 08:15:26 +01:00