Searched refs:SHARED_MEMORY (Results 1 – 1 of 1) sorted by relevance
51 static SHARED_MEMORY: SpinMutex<Option<MemorySharer>> = SpinMutex::new(None); variable267 let previous = SHARED_MEMORY.lock().replace(MemorySharer::new(granule, INIT_CAP)); in init_dynamic_shared_pool()315 drop(SHARED_MEMORY.lock().take()); in unshare_all_memory()464 } else if let Some(shared_memory) = SHARED_MEMORY.lock().as_mut() { in try_shared_alloc()