June 2013 Archive


INTERPROCESS COMMUNICATION / Race Conditions
2047 views
INTERPROCESS COMMUNICATION / Race Conditions

Processes often need to communicate with other processes. For instance, in a shell pipeline, the output of the first process must be passed to the second process, and so on down the line. In this way, there is a need for communication between processes, preferably in a

Critical Regions
1995 views
Critical Regions

How do we avoid race conditions? The key to preventing trouble here and in many other situations involving shared memory, shared files, and shared everything else is to find some way to forbid more than one process from reading and writing the shared data at the same time.

Mutual Exclusion with Busy Waiting
2819 views
Mutual Exclusion with Busy Waiting

In this section we will study various proposals for achieving mutual exclusion, so that while one process is busy updating shared memory in its critical region, no other process will go into its critical region and cause trouble.

Page 2 of 2 Previous 1 2 Next