Category "shared-memory"

Shared pthread_cond_broadcast stuck in futex_wait

I have one "server" process a and potentially multiple "client" processes b. The server creates a shared memory file (shm_open) containing a pthread_mutex_t and

Intermittent SIGBUS on shared memory segment

I have a server process that allocates a big chunk of memory using the System V XSI shared memory calls (shmget/shmat), from address to 0x500000000 to 0x1d00000

Relationship between shared memory and files

Ignoring some details there are two low-level SHM APIs available for in Linux. We have the older (e.g System V IPC vs POSIX IPC) SysV interface using: ftok shmc

Split list automatically for multiprocessing

I am learning multiprocessing in Python, and thinking of a problem. I want that for a shared list(nums = mp.Manager().list), is there any way that it automatica

How to establish semaphore between two different files and synchronize data

I am currently working on semaphore concepts ,. I Have two files I have to share data between two files Eg : application1.c It increments one value and shares t

How to send a cv::Mat to python over shared memory?

I have a c++ application that sends data through to a python function over shared memory. This works great using ctypes in Python such as doubles and floats. No

Question about sharing mmapped area between 2 different processes

I'm trying to share mmapped area in 2 processes. In my program, I create memory_update() process and memory_read() process. This memory_update() process update