Searched refs:UnloadHandler (Results 1 – 2 of 2) sorted by relevance
23 pub(crate) struct UnloadHandler { struct30 impl UnloadHandler { implementation36 pub(crate) fn get_instance() -> Arc<Mutex<UnloadHandler>> { in get_instance()37 static mut INSTANCE: Option<Arc<Mutex<UnloadHandler>>> = None; in get_instance()38 … unsafe { INSTANCE.get_or_insert_with(|| Arc::new(Mutex::new(UnloadHandler::new()))).clone() } in get_instance()
49 use crate::unload_handler::{UnloadHandler, DELAYED_UNLOAD_TIME_IN_SEC, SEC_TO_MILLISEC};54 let unload_handler = UnloadHandler::get_instance(); in unload_sa()