Solved

CPU Scheduling algorithm: SRTF program

Posted on 2004-10-03
4
14,873 Views
Last Modified: 2012-08-13
How to code the Shortest Remaining Time First(SRTF)? I'm having a hard time on coding the pre-emptive part of the algorithm. Thanks a lot.
0
Comment
Question by:joymavs
4 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 100 total points
ID: 12211486
0
 
LVL 45

Expert Comment

by:Kdo
ID: 12212224

Hi joymavs,

Any of the "best fit vs. first fit vs. worst fit" algorithms should give you a pretty good insight.  If you've already coded this kind of logic into any program just replicate the logic.


Kent
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

777 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