[thin_check (rust)] introduce ASpaceMap type alias

This commit is contained in:
Joe Thornber
2020-08-18 11:06:15 +01:00
parent 04f3ba5a33
commit 8eec84fbec
2 changed files with 16 additions and 11 deletions

View File

@@ -184,6 +184,8 @@ pub trait SpaceMap {
fn inc(&mut self, begin: u64, len: u64) -> Result<()>;
}
pub type ASpaceMap = Arc<Mutex<dyn SpaceMap + Sync + Send>>;
//------------------------------------------
pub struct CoreSpaceMap<T> {