Revert "Expose thread_manager for debugging purposes"

This reverts commit 2dc3cb40b6.
master
trivernis 5 years ago
parent 2dc3cb40b6
commit ec1f72ae98

@ -1,6 +1,6 @@
[package] [package]
name = "bdflib" name = "bdflib"
version = "0.3.6" version = "0.3.5"
authors = ["trivernis <trivernis@gmail.com>"] authors = ["trivernis <trivernis@gmail.com>"]
edition = "2018" edition = "2018"
license-file = "LICENSE" license-file = "LICENSE"

@ -12,7 +12,7 @@ use crossbeam_utils::sync::WaitGroup;
const ENTRIES_PER_CHUNK: u32 = 100_000; const ENTRIES_PER_CHUNK: u32 = 100_000;
#[derive(Debug)] #[derive(Debug)]
pub struct ThreadManager<T1, T2> { struct ThreadManager<T1, T2> {
pub sender_work: Sender<T1>, pub sender_work: Sender<T1>,
pub receiver_work: Receiver<T1>, pub receiver_work: Receiver<T1>,
pub sender_result: Sender<T2>, pub sender_result: Sender<T2>,
@ -38,7 +38,7 @@ pub struct BDFWriter {
head_written: bool, head_written: bool,
compressed: bool, compressed: bool,
compression_level: u32, compression_level: u32,
pub thread_manager: ThreadManager<GenericChunk, Vec<u8>>, thread_manager: ThreadManager<GenericChunk, Vec<u8>>,
} }
impl<T1, T2> ThreadManager<T1, T2> { impl<T1, T2> ThreadManager<T1, T2> {

Loading…
Cancel
Save