Solved

quantium interrupts

Posted on 1998-11-20
1
793 Views
Last Modified: 2013-12-26
one reason for using a quantium to interrupt a running process is after a reasonable period of time is to allow the operating system to dispatch the next process suppose the system does not have an interrupt clock and that the only way a process can loose the process is to relinquish it voluntairly.suppose that no dispatch mechanism is provided in the operating system describe how a group of user processes could cooperate among themselves to effect a user controlled dispatching mechanism what potential dangers would be inherent in this scheme?what are the advantages to the user over a system controlled
dispatching mechanism
0
Comment
Question by:delltrotter
1 Comment
 
LVL 4

Accepted Solution

by:
davidmwilliams earned 50 total points
Comment Utility
This is clearly some sort of assignment.
User processes could cooperate among themselves, to voluntarily relinquish the CPU every now and then (i.e. after every so many operations, or by setting an internal timer). Perhaps, by using inter-process communication, the processes could determine a 'chain' of execution, and then pass control on to the next process in line, and so on.
However, you really want pre-emptive multitasking and time-slicing, because what if one program crashed - or went into an infinite loop - or for some reason never relinquished control, or did so only infrequently -- or became deadlocked, because it was waiting for a resource that another process had ?  Of course, the other process can never release the resource if it can't run ...
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 85
Generic progress indicator 6 109
Complete beginner needs help making a cron job 9 104
FizzBuzz challenge 9 71
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now