
Chapter 4
The Shared-Memory
Paradigm: A Gentle
Introduction via R
The familiar model for the shared memory paradigm (in the hardware sense)
is the multicore machine. The several parallel processes communicate with
each other by accessing memory (RAM) cells that they have in common
within a machine. This contrasts with message-passing hardware, in which
there are a number of separate, independent machines, with processes com-
municating via a network that connects the machines.
Shared-memory programming is considered by many in the parallel pro-
cessing community as being the clearest of the various paradigms available.
Since programming development time ...