 
|
0b3918bce9
|
rt: bring back a public Handle type (#3076)
Signed-off-by: Marc-Antoine Perennou <[email protected]>
Co-authored-by: Alice Ryhl <[email protected]>
Co-authored-by: Carl Lerche <[email protected]>
|
2020-11-05 13:00:13 +01:00 |
|
Marc-Antoine Perennou
|
7fbfa9b649
|
tokio: deduplicate spawn_blocking (#3017)
Move common code and tracing integration into Handle
Fixes #2998
Closes #3004
Signed-off-by: Marc-Antoine Perennou <[email protected]>
|
2020-10-21 20:00:48 +02:00 |
|
Marc-Antoine Perennou
|
2696794771
|
tokio: add Runtime::spawn_blocking (#2980)
This allows writing
rt.spawn_blocking(f);
instead of
let _enter = rt.enter();
tokio::task::spawn_blocking(f);
Signed-off-by: Marc-Antoine Perennou <[email protected]>
|
2020-10-19 18:49:16 +02:00 |
|
Marc-Antoine Perennou
|
71c8f561e3
|
runtime: add block_on_all (#398)
Signed-off-by: Marc-Antoine Perennou <[email protected]>
|
2018-06-14 22:13:39 -07:00 |
|