Added trait SynchObj to relevant structs

This commit is contained in:
François Autin
2023-04-05 16:12:15 +02:00
parent 586c077002
commit 91f5c6054c
2 changed files with 8 additions and 1 deletions

View File

@ -15,7 +15,7 @@ pub trait SynchObj { }
/// A method allows to detect of an object corresponding to a given
/// identifier exists; this is used to check the parameters of system
/// calls.
struct ObjAddr<'a> {
pub struct ObjAddr<'a> {
last_id: i32,
map: HashMap<i32, &'a dyn SynchObj>
}