Restructure and job stealing work queue

This commit is contained in:
Mathias Hall-Andersen
2019-08-20 14:33:11 +02:00
parent 31ef3e2871
commit 7e727d120b
9 changed files with 486 additions and 415 deletions

View File

@@ -14,7 +14,7 @@ fn main() {
// choose optimal crypto implementations for platform
sodiumoxide::init().unwrap();
let mut rdev = router::Device::new(8);
let mut router = router::Device::new(8);
let pref = rdev.new_peer();
let peer = router.new_peer();
}