Simulation of a parking management using multithreading and synchronization for unix system
First, grab the source code :
git clone https://github.com/gabswb/parking-management.git
cd parking-management
Then compile using the Makefile :
make
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.