Page 49 - demo
P. 49

Time

                         Process 1


                         Process 2


                         Process 3

                                               (a)  Interleaving (multiprogramming, one processor)






                         Process 1


                         Process 2


                         Process 3

                                         (b)  Interleaving and overlapping (multiprocessing; two processors)




                                Blocked            Running












                                    Figure 2.12  Multiprogramming and Multiprocessing
   44   45   46   47   48   49   50   51   52   53   54