Tags » Shared Memory

Ways to share memory between processes in C

First of all why we need to share memory among different process?

The answer to this question is very simple whenever a program is loaded into main memory (RAM) it is allocated a certain amount of memory segment to it by operating system and no other process has permission to access that memory segment. 104 more words


How to find a process which is using the ipcs shared memory segment ?

IPC stands for Inter-process Communication.

This technique allows the processes to communicate with each another.

Since each process has its own address space and unique user space, how does the process communicate each other? 344 more words

Kernel - Advanced

Is there a reliable, cross-platform (on *nix anyway) way to create a temporary file on another device?

I’m trying to write a test case for some code that should iterates over a filesystem tree, but should stop if a file is on another device. 53 more words