Function shadow_shmem::allocator::shmalloc
source ยท pub fn shmalloc<T>(val: T) -> ShMemBlock<'static, T>where
T: Sync + VirtualAddressSpaceIndependent,
Expand description
This function moves the input parameter into a newly-allocated shared memory block. Analogous to
malloc()
.