answersLogoWhite

0

There are two basic ways of establishing a multitasking environment; timeslice and priority based.

In a a timeslice multitasking environment each application is given a set amount of time (250 milliseconds, 100 milliseconds, etc) to run then the scheduler turns over execution to some other process. In such an environment each READY application takes turns, allowing them to effectively share the CPU.

In a priority based environment each application is assigned a priority and the process with the highest priority will be allowed to execute as long as it is "ready", meaning that it will run until it needs to wait for some kind of resource such as operator input, disk access or communication. Once a higher priority process is no longer "ready", the next higher process will begin execution until it is no longer "ready" or until the higher priority process takes the processor back.

Most real-time operating systems in use today tend to be some kind of combination of the two.

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

What is the different betweeb cooperative and preemptive?

Preemptive Multitasking basically involves the operating system sharing CPU time among many processes. An executing process is terminated when its time slice finished and the the CPU control is given to the next process. All processes get CPU time. In Cooperative Multitasking, however, one process can hold the CPU for as long as it needs it. For the cooperative to work, all programmes must cooperate, hence the name.


When an operating system receives an interrupt from the printer and pauses the CPU?

Processor management is the operating system that receives and interrupt from the printer and pauses the CPU.


What coordinates all the activities from the CPU?

Operating system software BY Gerald Atobrah


What is the significance of time slice in computer science and how does it impact the performance of multitasking operating systems?

In computer science, a time slice is a small unit of time allocated to each task in a multitasking operating system. It is significant because it allows the operating system to switch between tasks quickly, giving the illusion of simultaneous execution. This impacts performance by ensuring fair allocation of resources among tasks and preventing one task from monopolizing the CPU for an extended period.


Types of Operating System?

Windows 95Windows 97Windows MEWindows NTWindows 2000Windows XPWindows Vista (Don't, it sucks)Windows 7MacintoshLinux


What are the advantages of a multiprogramming operating system?

it increases the CPU utlisation cpu is never ideal


What is 'OS' are our cpu's running off of?

Operating System


What is the name of the device where the operating system is stored?

The device where the operating system is stored on a computer is called the CPU. CPU stands for Central Processing Unit and is the heart of the computer.


When the mouse initiates a hardware interrupt to the CPU how does the CPU know?

The CPU does not "know" it is not a thinking being. What happens is that the interrupt flag ( a binary true or false register) is detected by the operating system which is being executed by the CPU and the code of the operating system runs a routine in response.


What controls the CPU fan the operating system or the motherboard?

The BIOS on the motherboard.


What manages the hardware components including the CPU memory storage?

Operating System


How the operating system works with the CPU in a computer system?

apple and mack comps system seems to work .