mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-22 00:00:11 +02:00
Update to crossbeam-utils 0.5.0, fix imports (#519)
This commit is contained in:
committed by
Carl Lerche
parent
afcfefd7e3
commit
decc83e959
@@ -20,7 +20,7 @@ categories = ["concurrency", "asynchronous"]
|
||||
tokio-executor = { version = "0.1.2", path = "../tokio-executor" }
|
||||
futures = "0.1.19"
|
||||
crossbeam-deque = "0.5.0"
|
||||
crossbeam-utils = "0.4.1"
|
||||
crossbeam-utils = "0.5.0"
|
||||
num_cpus = "1.2"
|
||||
rand = "0.5"
|
||||
log = "0.4"
|
||||
|
||||
@@ -28,7 +28,7 @@ use std::sync::atomic::AtomicUsize;
|
||||
use std::sync::Arc;
|
||||
use std::thread;
|
||||
|
||||
use crossbeam_utils::cache_padded::CachePadded;
|
||||
use crossbeam_utils::CachePadded;
|
||||
use rand;
|
||||
|
||||
#[derive(Debug)]
|
||||
|
||||
@@ -6,7 +6,7 @@ use std::sync::Arc;
|
||||
use std::sync::atomic::AtomicPtr;
|
||||
use std::sync::atomic::Ordering::{Acquire, Release, AcqRel, Relaxed};
|
||||
|
||||
use crossbeam_utils::cache_padded::CachePadded;
|
||||
use crossbeam_utils::CachePadded;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub(crate) struct Queue {
|
||||
|
||||
@@ -8,7 +8,7 @@ use std::sync::Arc;
|
||||
use std::sync::atomic::{AtomicUsize, Ordering};
|
||||
use std::sync::atomic::Ordering::{Acquire, AcqRel, Relaxed};
|
||||
|
||||
use crossbeam_utils::cache_padded::CachePadded;
|
||||
use crossbeam_utils::CachePadded;
|
||||
use deque;
|
||||
|
||||
// TODO: None of the fields should be public
|
||||
|
||||
Reference in New Issue
Block a user