Solved

CPU Scheduling algorithm: SRTF program

Posted on 2004-10-03
4
15,024 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:Kent Olsen
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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.

820 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