File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff 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+
97105pub ( 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 {
107115impl 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 ( ) ,
You can’t perform that action at this time.
0 commit comments