By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,158 Members | 917 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,158 IT Pros & Developers. It's quick & easy.

Scheduling programs in C

Ritchie
P: 9
Please can anyone help me with d programs in C for

CPU scheduling:

WAP to show FCFS scheduling algorithm.
WAP to show SJF scheduling algorithm.
WAP to show Priority scheduling algorithm.
WAP to show Round-Robin scheduling algorithm.

disk scheduling:
WAP to show FCFS disk scheduling algorithm.
WAP to show SSTF disk scheduling algorithm.
WAP to show SCAN disk scheduling algorithm.
WAP to show C-SCAN disk scheduling algorithm.
WAP to show LOOK disk scheduling algorithm.
WAP to show C-LOOK disk scheduling algorithm.

PLease help urgently
Oct 15 '07 #1
Share this Question
Share on Google+
2 Replies


sicarie
Expert Mod 2.5K+
P: 4,677
Sure, have you started researching scheduling yet? Did you look at the source code for the scheduler in Linux?

Hey.... that avatar looks familiar ;)
Oct 17 '07 #2

P: 3
Sure, have you started researching scheduling yet? Did you look at the source code for the scheduler in Linux?

Hey.... that avatar looks familiar ;)
I've already made an algorithm of CPU Scheduling in C language...
I'll Post it... Next time coz i dont have my usb right now...
Lets see if my logic can help you...
Oh!!! By the way... I dont have an algorithm for round robin...
I'm still working for it at this time...
lets help each other...

I have
1. FCFS
2. SJF
3. SRTF
4. Priority
5. Preemptive Priority...
Jan 11 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.