mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-26 00:00:16 +02:00
Switch back to futures from crates.io (#113)
Doing so requires copying the `current_thread` executor from GitHub into the repo.
This commit is contained in:
@@ -90,7 +90,7 @@ fn worker(rx: mpsc::UnboundedReceiver<net::TcpStream>) {
|
||||
})).unwrap();
|
||||
Ok(())
|
||||
});
|
||||
future::blocking(done).wait().unwrap();
|
||||
done.wait().unwrap();
|
||||
}
|
||||
|
||||
/// "Server logic" is implemented in this function.
|
||||
|
||||
Reference in New Issue
Block a user