Cargo updates and small workqueue change

This commit is contained in:
Lars Bergstrom 2015-12-03 18:50:58 -06:00
parent 5b845cbf79
commit 095658e098
3 changed files with 21 additions and 3 deletions

View file

@ -11,9 +11,8 @@
extern crate kernel32;
use deque::{Abort, BufferPool, Data, Empty, Stealer, Worker};
use libc::usleep;
#[cfg(not(windows))]
use libc::funcs::posix88::unistd::usleep;
use libc::usleep;
use rand::{Rng, XorShiftRng, weak_rng};
use std::sync::atomic::{AtomicUsize, Ordering};
use std::sync::mpsc::{Receiver, Sender, channel};