Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Table of contents

General info

This project is an implementation of Bankers Algorithm - an algorithm used to detect and avoid deadlocks.

Technologies

Project is created with:

  • Operating system - Ubuntu 20.04.1 LTS
  • VS Code - version 1.50.1
  • GCC compiler - version 9.3.0
  • GNU Make - version 4.2.1

Setup

To run this project, clone(download) the repo and navigate to root directory. Then, use "make" to build one of two projects:

$ cd 7041cem_cw
$ make clean build_exercise
$ ./main.o

This will build an "exercise" project with predefined values provided in assignemnt sheet.

$ cd 7041cem_cw
$ make clean build_generic
$ ./main.o

This will build a "generic" project with no predefined values. All values to be inputted by a user.

Moreover, both projects accept "-v" argument:

$ ./main.o -v

Running the file with "-v" argument will generate more user readable output then usual application execution.

NB: Silly me - I have been commiting to my personal GitHub repo hence the name was set up to "dmitrij" while my uni GitHub name is "santarod". Both accounts belong to me.