Top "Shared-memory" questions

Memory that may be simultaneously accessed by multiple programs

How to use shared memory with Linux in C

I have a bit of an issue with one of my projects. I have been trying to find a well …

c linux fork shared-memory
Shared-memory objects in multiprocessing

Suppose I have a large in memory numpy array, I have a function func that takes in this giant array …

python numpy parallel-processing multiprocessing shared-memory
Delete all SYSTEM V shared memory and semaphores on UNIX-like systems

How can I delete all not used semaphores and shared memory with a single command on a UNIX-like system, e.…

linux unix posix semaphore shared-memory
Shared memory in multiprocessing

I have three large lists. First contains bitarrays (module bitarray 0.8.0) and the other two contain arrays of integers. l1=[bitarray 1, …

python multiprocessing shared-memory large-data
Deleting shared memory with ipcrm in Linux

I am working with a shared memory application, and to delete the segments I use the following command: ipcrm -M 0…

shared-memory ipcs
Linux shared memory: shmget() vs mmap()?

In this thread the OP is suggested to use mmap() instead of shmget() to get shared memory in Linux. I …

c linux posix shared-memory mmap
sharing memory between two applications

I have two different windows applications (two different people writing the code). One is Written in C++ and another one …

c# c++ process shared-memory
How to use POSIX semaphores on forked processes in C?

I want to fork multiple processes and then use a semaphore on them. Here is what I tried: sem_init(&…

c linux fork shared-memory semaphore
how to use shared memory to communicate between two processes

I am trying to communicate between two processes. I am trying to save data(like name, phone number, address) to …

c ipc process shared-memory