Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-10-25 13:13:14 +02:00
parent 92eface070
commit 6f911968a5

View File

@ -87,7 +87,7 @@ impl TaskQueue {
}
pub struct ThreadPool {
threads: Mutex<Vec<JoinHandle<()>>>,
_threads: Mutex<Vec<JoinHandle<()>>>,
queue: Arc<TaskQueue>,
}
@ -106,7 +106,7 @@ impl ThreadPool {
}
Ok(Self {
threads: Mutex::new(threads),
_threads: Mutex::new(threads),
queue,
})
}