This preview shows page 1. Sign up to view the full content.
Unformatted text preview: do not affect the states of any other processes. The only exception to this rule occurs when processes use interprocess communication (IPC) mechanisms such as pipes, sockets, shared memory, and semaphores to explicitly interact with each other. Any process whose logical ﬂow overlaps in time with another ﬂow is called a concurrent process, and the two processes are said to run concurrently. For example, in Figure 8.10, processes A and B run concurrently, as do A and C. On the other hand, B and C do not run concurrently because the last instruction of B executes before the ﬁrst instruction of C. The notion of processes taking turns with other processes is known as multitasking. Each time period that a process executes a portion of its ﬂow is called a time slice. Thus, multitasking is also referred to as time slicing. 8.2.2 Private Address Space
A process also provides each program with the illusion that it has exclusive use of the system’s address space. On a machine with Ò-bit addresses, the address space is the set of ¾Ò possible addresses, ¼, ½, . . . , Ò ¾ ½. A process provides each program with its own private address spac...
View Full Document