Skip to content

Commit 64ac100

Browse files
committed
add COVER_best_t_inner
1 parent 41f63c5 commit 64ac100

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

lib/dictBuilder/cover.rs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,16 @@ pub(super) struct COVER_epoch_info_t {
9494
pub(super) size: u32,
9595
}
9696

97+
pub(super) struct COVER_best_t_inner {}
98+
99+
impl COVER_best_t_inner {
100+
pub(crate) fn new() -> Self {
101+
Self {}
102+
}
103+
}
104+
97105
pub(super) struct COVER_best_t {
98-
pub(super) mutex: Mutex<()>,
106+
pub(super) mutex: Mutex<COVER_best_t_inner>,
99107
pub(super) cond: Condvar,
100108
pub(super) liveJobs: size_t,
101109
pub(super) dict: Box<[u8]>,
@@ -107,7 +115,7 @@ pub(super) struct COVER_best_t {
107115
impl COVER_best_t {
108116
pub(crate) fn new() -> Self {
109117
Self {
110-
mutex: Mutex::new(()),
118+
mutex: Mutex::new(COVER_best_t_inner::new()),
111119
cond: Condvar::new(),
112120
liveJobs: 0,
113121
dict: Box::default(),

0 commit comments

Comments
 (0)