shadow_shmem::allocator

Function shmalloc

source
pub fn shmalloc<T>(val: T) -> ShMemBlock<'static, T>
Expand description

This function moves the input parameter into a newly-allocated shared memory block. Analogous to malloc().