Merge remote-tracking branch 'upstream/main'

This commit is contained in:
JuliDi
2023-06-21 11:52:53 +02:00
30 changed files with 689 additions and 80 deletions

View File

@ -338,6 +338,7 @@ impl<'a, C: Channel> Transfer<'a, C> {
pub fn blocking_wait(mut self) {
while self.is_running() {}
self.request_stop();
// "Subsequent reads and writes cannot be moved ahead of preceding reads."
fence(Ordering::SeqCst);