Steal multiple tasks from another worker at a time (#534)

* Steal multiple tasks from another worker at a time
* Better spinning and failing pop
* Update crossbeam-deque and simplify spinning
This commit is contained in:
Stjepan Glavina
2018-08-09 12:14:13 -07:00
committed by Carl Lerche
parent fd36054ae4
commit 96b556fbff
3 changed files with 44 additions and 23 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ categories = ["concurrency", "asynchronous"]
[dependencies]
tokio-executor = { version = "0.1.2", path = "../tokio-executor" }
futures = "0.1.19"
crossbeam-deque = "0.5.0"
crossbeam-deque = "0.6.0"
crossbeam-utils = "0.5.0"
num_cpus = "1.2"
rand = "0.5"