Top "Shared-memory" questions

Memory that may be simultaneously accessed by multiple programs

Remove posix shared memory when not in use?

Is there any way, linux specific or not, to have posix shared memory segments (obtained with shm_open()) removed when …

c linux shared-memory
Why use SysV or POSIX shared memory vs mmap()?

Needing to use IPC to pass large-ish amounts of data (200kb+) from a child process to a parent on OS …

macos unix shared-memory
How to iterate over a dict proxy in Python?

I'm using Python's multiprocessing.Manager to share access to a dataset that one process will generate and others will view. …

python dictionary multiprocessing shared-memory
Is heap memory per-process? (or) Common memory location shared by different processes?

Every process can use heap memory to store and share data within the process. We have a rule in programming …

c++ memory-leaks operating-system shared-memory heap-memory
CUDA: When to use shared memory and when to rely on L1 caching?

After Compute Capability 2.0 (Fermi) was released, I've wondered if there are any use cases left for shared memory. That is, …

caching cuda shared-memory
Can I somehow share an asynchronous queue with a subprocess?

I would like to use a queue for passing data from a parent to a child process which is launched …

python queue multiprocessing shared-memory python-asyncio
How to write to a shared variable in python joblib

The following code parallelizes a for-loop. import networkx as nx; import numpy as np; from joblib import Parallel, delayed; import …

python parallel-processing shared-memory joblib
C# UWP Windows 10 Inter Process Communication with MemoryMappedFiles missing

I'm facing a new problem, that occured while coding my IPC for my app. Before UWP I was able to …

c# shared-memory win-universal-app memory-mapped-files uwp