Find Jobs
Hire Freelancers

Need help with an operating systems code

$30-250 CAD

В роботі
Опублікований over 4 years ago

$30-250 CAD

Оплачується при отриманні
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.
ID проекту: 22451053

Про проект

8 пропозицій(-ї)
Дистанційний проект
Активність 4 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
Доручений:
Аватарка користувача
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 за 5 дні(-в)
5,0 (17 відгуки(-ів))
4,2
4,2
8 фрілансерів(-и) готові виконати цю роботу у середньому за $174 CAD
Аватарка користувача
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 за 2 дні(-в)
4,9 (411 відгуки(-ів))
7,4
7,4
Аватарка користувача
""" 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 за 7 дні(-в)
5,0 (8 відгуки(-ів))
4,6
4,6
Аватарка користувача
Hi, I'm Chunzuo. I have rich experience in POSIX thread in Linux. Please contact with me to discuss more.
$140 CAD за 7 дні(-в)
5,0 (9 відгуки(-ів))
4,0
4,0
Аватарка користувача
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 за 7 дні(-в)
4,1 (14 відгуки(-ів))
4,5
4,5
Аватарка користувача
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 за 7 дні(-в)
5,0 (1 відгук)
1,6
1,6
Аватарка користувача
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 за 7 дні(-в)
5,0 (1 відгук)
0,6
0,6

Про клієнта

Прапор CANADA
Brampton Southwest, Canada
5,0
1
Спосіб оплати верифіковано
На сайті з лист. 9, 2019

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.