Appeal 2007-2127 Reexamination Control No. 90/006,621 multiple processes), and how threads are dispatched is illustrated in LaFore, Peter Norton's Inside OS/2, pages 138-39: Threads are referred to as the "unit of dispatchability." This means the scheduler allots CPU time to threads, not processes. Each thread gets its share of time before control is passed to the next thread. Thus, a process with more threads will get more CPU time, as shown in Figure 5-2. Process 1 and Process 2 are each "multithreaded" because they have two or more threads in the same process executing at the same time but for the timesharing of the CPU. Also, since two processes execute at the same time, but for the timesharing of the CPU, this is multitasking of processes. m. Advantages of multithreading There are numerous advantages to multitasking and multithreading. As stated in Harvey M. Deitel, An Introduction to Operating Systems (2d ed. Addison-Wesley Feb. 1990), page 791: Programmers in an OS/2 environment use threads for a variety of reasons. A common application is to provide one thread for 41Page: Previous 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 Next
Last modified: September 9, 2013