- Cooperative multitasking: An application executes until it cooperates with other applications by releasing the processor to them
- Preemptive multitasking: An application is allowed to execute for a short period before it is involuntarily interrupted by the operating system. The processor actually grants time to the process. This period is called time slice or a quantum. This style of sharing the processor time has a few problems
- Accessing the shared data (Is solved by synchronization)
- The cost of context switching
Friday, July 16, 2010
Multitasking and Multithreading
The quotes are mostly come from the book Pro .NET 1.1 Remoting, Reflection, and Threading Threading refers to an application’s capability to handle executing more than one instruction set at a time. Multitasking refers to an operating system’s capability to run more than one application at a time. There are two types of multitasking
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment