mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
Track mio master
This commit is contained in:
parent
7a852a7f49
commit
440a813c5a
@ -131,7 +131,7 @@ impl Loop {
|
|||||||
Ok(Loop {
|
Ok(Loop {
|
||||||
id: NEXT_LOOP_ID.fetch_add(1, Ordering::Relaxed),
|
id: NEXT_LOOP_ID.fetch_add(1, Ordering::Relaxed),
|
||||||
io: io,
|
io: io,
|
||||||
events: mio::Events::new(),
|
events: mio::Events::with_capacity(1024),
|
||||||
tx: Arc::new(MioSender { inner: tx }),
|
tx: Arc::new(MioSender { inner: tx }),
|
||||||
rx: rx,
|
rx: rx,
|
||||||
_future_registration: registration,
|
_future_registration: registration,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user