?
Solved

quantium interrupts

Posted on 1998-11-20
1
Medium Priority
?
868 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 200 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

762 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