Shared Memory
Shared memory with memory mapping
Classes:
|
Implementation of shared memory |
- class holoocean.shmem.Shmem(name, shape, dtype=<class 'numpy.float32'>, uuid='')
Implementation of shared memory
- Parameters:
name (
str
) – Name the points to the beginning of the shared memory blockshape (
int
) – Shape of the memory blockdtype (type, optional) – data type of the shared memory. Defaults to np.float32
uuid (
str
, optional) – UUID of the memory block. Defaults to “”
Methods:
unlink
()unlinks the shared memory
- unlink()
unlinks the shared memory