Top "Shared-memory" questions

Memory that may be simultaneously accessed by multiple programs

Initialize array starting from specific address in memory - C programming

Do you have idea how to initialize array of structs starting from specific address in memory (not virtual, physical DDR …

c arrays shared-memory
Pointers inside shared memory segment

I've been trying this for hours, and google all the things I kind think of, but I'm going crazy. I …

c linux shared-memory
Why do I need a memory barrier?

C# 4 in a Nutshell (highly recommended btw) uses the following code to demonstrate the concept of MemoryBarrier (assuming A and …

c# multithreading thread-safety shared-memory memory-barriers
Shared map with boost::interprocess

I have a simple requirement that might be tough to solve. I did find some leads like this or this …

c++ boost map shared-memory boost-interprocess
What does the shmop PHP extension do?

http://www.php.net/manual/en/intro.shmop.php Shmop is an easy to use set of functions that allows …

php shared-memory
Create a shared-memory vector of strings

I am trying to create a class managing a shared-memory vector of (std)strings. typedef boost::interprocess::allocator<std::…

c++ boost shared-memory boost-interprocess
How to remount the /proc filesystem in a docker as a r/w system?

I have installed docker 0.11.1 over Ubuntu 12.04. I am trying to change the shmmax from its fixed value (32 M) to something …

linux docker ubuntu shared-memory procfs
Where is linux shared memory actually located?

I just wanted to know where shared memory resides in a Linux system? Is it in physical memory or virtual …

c linux memory shared-memory
How to share linux kernel memory with userspace (read only)

I need to share about 100KiB of kernel memory to userspace. Userspace daemon will access this memory in read-only manner …

linux linux-kernel shared-memory procfs
C++ boost libraries shared_memory_object undefined reference to 'shm_open'

I tried to compile the following code on ubuntu 11.04: #include <boost/interprocess/shared_memory_object.hpp> #include <…

c++ boost compiler-errors shared-memory ubuntu-11.04