Skip to content

aliutiev/cp386a4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CP386 A4 - Bankers Algorithm

The banker’s algorithm is a resource allocation and deadlock avoidance algorithm that tests for safety by simulating the allocation for predetermined maximum possible amounts of all resources, then makes a check to test for possible activities, before deciding whether allocation should be allowed to continue.

Motivation

The motivation behind the project was to apply the knowledge, understanding and skills learned within CP386 operating systems course to a real project problem.

Installation

Installation requires the C programming language library & gcc compiler (instructions to install C in VSCode and gcc). The program includes a MakeFile that will compile the program with the command "make runq1" with gcc installed. Compilation parameters &

Individual Contribution (Function wise)

Features

Request Resources

Release Resources

Status

Run

Exit

Test Cases

INSERT LINK See an example test case here.

About Developers

Andrew L BBA & CS WLU

Credits

Geeks for Geeks
Geeks for Geeks - Banker's Algorithm

Licenses to use Code

Useful for gengtype in plugin mode.

Copyright (C) 2010  Free Software Foundation, Inc.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.

Contributed by Jeremie Salvucci <[email protected]>
and Basile Starynkevitch <[email protected]>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published