Skip to content

Simulation of a parking management using multithreading and synchronization

License

Notifications You must be signed in to change notification settings

gabswb/parking-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parking-management

Simulation of a parking management using multithreading and synchronization for unix system

Build

First, grab the source code :

git clone https://github.com/gabswb/parking-management.git
cd parking-management

Then compile using the Makefile :

make

Usage

To run the program :

cd build
./parking-management [options]
Usage : ./parking-management [-f <input_file> | -p arg1 agr2 arg3 arg4] [-v] [-h] 

    [-f] <input_file>           ,run program with data in the specified .csv file in parameter
    [-p] arg1 arg2 arg3 arg4    ,arg1 : nb of sub vehicle, arg2 : nb of non sub vehicle  
                                ,arg3 : nb of private places, arg4 : nb of public places
    [-v]                        ,verbose mode
    [-h]                        ,help message

If you run without options, the default parameters will be used.

About

Simulation of a parking management using multithreading and synchronization

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published