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
Solved

quantium interrupts

Posted on 1998-11-20
1
838 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
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

829 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