Find Jobs
Hire Freelancers

C Programming (safe state algorithm)

$20-100 USD

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

$20-100 USD

Оплачується при отриманні
The safe state algorithm is used by Operating Systems to avoid deadlock situations. The algorithm works by starting with a safe state, accepting a request for resources by a process, determining if the new state is safe, and then granting the request only if the new state is safe. Write a program to implement the safe state algorithm under the following conditions. The program must handle up to 10 processes at any one time. There are four resource groups that can be requested. These are disk drives, tape drives, printers, and graphical plotters. The current "state" of the system needs to be read into the program from a data file. It can be assumed that the current state is a safe one, however it will be simple enough for the program to verify this. Once the current state is read in, a new resource request can be read in from a data file or from the keyboard. The program should accept this resource request and determine if the new state is also safe. The process of accepting new resource requests can be continued if desired. The output from the program will be a display of the current state, the resource request entered, a message indicating whether the state is safe or not, and the sequence of processes that was used to verify the safe state. The output to the screen must be readable so the user can determine what has occurred.
ID проекту: 6396

Про проект

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

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

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

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
Доручений:
Аватарка користувача
dear sir, we can do it easily within the time frame
$100 USD за 3 дні(-в)
5,0 (3 відгуки(-ів))
5,9
5,9
5 фрілансерів(-и) готові виконати цю роботу у середньому за $84 USD
Аватарка користувача
Seems like a fairly simple app. Can do it but the price is low - atleast $150. Please check out more details on us at www.indi-soft.com. Please check out my reviews on this site. Arun
$100 USD за 7 дні(-в)
5,0 (1 відгук)
2,8
2,8
Аватарка користувача
we can do it.
$100 USD за 5 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0
Аватарка користувача
I work with an italian university. The work is easy ;)
$99 USD за 7 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0

Про клієнта

Прапор ITALY
Fermo Posta, Italy
0,0
4
На сайті з трав. 31, 2004

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

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