Solved

quantium interrupts

Posted on 1998-11-20
1
863 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
davidmwilliams earned 50 total points
ID: 1294274
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

707 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