Find Jobs
Hire Freelancers

Need help with an operating systems code

$30-250 CAD

In Progress
Posted over 4 years ago

$30-250 CAD

Paid on delivery
Working with UNIX, C programming to do a project, the project is as follows: Step 1: Populate the job Queue with 100 processes. For each process, auto increment (starting from 1) the PID and randomly select Time (in the range 1-30). Display logging message to the screen: “[Kernel] Process X created with Time = Y” Step 2: Create the two threads for the two schedulers. Step 3: Invoke the long-term scheduler. Every time long-term scheduler method is invoked, display the logging message: “[Kernel] Long Term Scheduler Invoked” from the main program. First, it will display a logging message to show the current content of the job queue and ready queue as: Winter 2019 LE/EECS 3221 2 “[LTS] Job Queue: [Process X1: Time Y1], ….” “[LTS] Ready Queue: [Process X2: Time Y2], ….” or “[LTS] Ready Queue: EMPTY” Now, Long-term scheduler method will dequeue an element (process) from the job queue and enqueue it into the ready queue. Display logging message to the screen: “[LTS] Process X removed from the Job Queue and inserted to the Ready Queue”. However, the ready queue has maximum length 5; if the ready queue is full, display logging message to the screen: “[LTS] Ready Queue is Full, cannot enter more”. Long term scheduler will try to insert multiple processes to the queue if there are free spots. Now, Long-term scheduler will again display the content of the two queues using same format as mentioned above and will pass the control to short-term scheduler. Step 4: Display the logging message: “[Kernel] Short Term Scheduler Invoked” from the main program; this message will be displayed every time the short term scheduler is invoked. Then, short term scheduler will display the content of two queues using the format discussed earlier, change LTS to STS. Then, short-term scheduler method will dequeue an element (process) from the ready queue and display the logging message to the screen: “[STS] Process X now executing”. It will then reduce its time by two and enqueue it at the end of the ready queue. Also display the logging message to the screen: “[STS] Process X with remaining time Y enqueued to the Ready Queue”. If the message has consumed its entire time, then it will not be enqueued to the ready queue and the logging message will be: “[STS] Process X terminated”. Short term scheduler will repeat this action five times i.e. serve five processes. Display the content of the two queues once again and then pass the control to the long-term scheduler.
Project ID: 22451053

About the project

8 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello! I'm an experienced C and UNIX programmer so I believe I could help you complete this project. If you have any further requirements concerning the deadline I may be able to accommodate. Your description has given me a good idea of the project, but if you would like to discuss the finer details please feel free to contact me via chat. Regards
$120 CAD in 5 days
5.0 (17 reviews)
4.2
4.2
8 freelancers are bidding on average $174 CAD for this job
User Avatar
Hi, I'm an expert in C programming and coding OS concepts. I'm sure that I can easily do this project for you. We can have a chat about it. Thanks.
$200 CAD in 2 days
4.9 (411 reviews)
7.4
7.4
User Avatar
""" Team of Professional Developers"" I have a team of full stack developer with more than 8+ years of experience and skills in Django & ReactJs & VueJs & ASP.NET & PHP & JAVA Spring using Mongoose, Mysql, SQL Server. Also very proficient with HTML5/ Python/ CSS3/ Bootstrap/ jquery/ PSD to HTML ... I can also use framework like Wordpress/Laravel/CI/.NetCore2.2. We have Completed more than 290+ jobs on Freelancer majority of which almost all are 5 star work. My team understand the value of deadline and we do not compromise on quality. I believe we can deliver a great work for you and ensure your complete Satisfaction. "
$140 CAD in 7 days
5.0 (8 reviews)
4.6
4.6
User Avatar
Hi, I'm Chunzuo. I have rich experience in POSIX thread in Linux. Please contact with me to discuss more.
$140 CAD in 7 days
5.0 (9 reviews)
4.0
4.0
User Avatar
Ready to start the work to operating systems code according to your requirements, We can discuss more over chat, Thanks Regard Kanta Singh.
$155 CAD in 7 days
4.1 (14 reviews)
4.5
4.5
User Avatar
No problem! I have read your description carefully and very interested in your project. I am working on Desktop App with C/C++,C#,Python & Java for 7years. I think i can do it perfectly. If you hire me, you will get cool results. i can work full-time in your time zone. Best Regards
$140 CAD in 7 days
5.0 (1 review)
1.6
1.6
User Avatar
Hi. Dear I read your job description in detail and feel I can help your project. I have full experience and skills for C#, C++ and .NET Framework and Database Management etc. I have done the many project as same as your project with Visual StudioS2019 . I want to work for your project. Best regards...
$250 CAD in 7 days
5.0 (1 review)
0.6
0.6

About the client

Flag of CANADA
Brampton Southwest, Canada
5.0
1
Payment method verified
Member since Nov 9, 2019

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.