Process - Shared State (Shared Data)

Process States


Shared state between processes

Operations upon shared states are critical sections that must be mutually exclusive. Failure to obey this rule opens up the possibility of corrupting the shared state.


Shared (Virtual) Memory (SHM) is shared data between process (not threads because threads are already sharing the same address space. For thread, we are talking of Shared Variable (data shared between threads).


  • Shared memory is a OS system implementation whereas
  • Shared variable management (ie concurrency management) is inside the language (synchronization, etc …)

Discover More
Data System Architecture
Data Concurrency - Promise

A promise is a concurrency design pattern where shared state is not required. It's the basic building block of any asynchronous model. A Future represents the result of a promise is called generally...
Process States
Thread - Shared Variable

shared state in threads. Threads communicate primarily by sharing access to fields and the objects reference fields refer to. This form of communication is extremely efficient, but makes two kinds of...
Card Puncher Data Processing
Virtual Memory - Shared Memory (SHM)

Shared memory is the third type of memory. It's a way to shared state between process. The structure that is shared is called a segment. Shared memory, as its name implies, is a method to share data...

Share this page:
Follow us:
Task Runner