Skip to content

2. project for the class IOS on VUT FIT.

License

Notifications You must be signed in to change notification settings

RoamingNoMaD/IOS_2.project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IOS_2.project

About

This software synchronizes processes to solve a problem based on "The barbershop problem", which can be found in the Little Book of Semaphores in English, or in the file IOS-project2.pdf in Czech.

Usage

To run the program:

  1. Compile with make in the repository folder.

  2. Set execution rights, then run the program as ./proj2 NZ NU TZ TU F, where:

    • NZ - number of customers,
    • NU - number of workers,
    • TZ - waiting time (ms) for customers to enter (0 < TZ <= 10000),
    • TU - maximum break time (ms) for worker (0 < TU <= 100),
    • F - maximum time (ms) for the office to be open for (0 <= F <= 10000).
  3. The output of the program will be in the file proj2.out.

Rating

The project was rated 18/15 points in the summer semester of 2023.

About

2. project for the class IOS on VUT FIT.

Topics

Resources

License

Stars

Watchers

Forks