What does the function startCar do?
#include "Car.h"
#include "Station.h"
#include
using namespace std;
extern void testACar(void*);
Car::Car(void)
{
fillCount = 0;
tryCount = 0;
thread = nullptr;
stationToUse = nullptr;
numberWaitingInLine = nullptr;
}
void Car::startCar(void testACar(Car* car))
{
///////////////////////////////////////////////////////////////////////////
// TODO: Start the thread that will be used for the car
//(these will be joinable threads)
///////////////////////////////////////////////////////////////////////////
}
void Car::waitForCarToStop(void)
{
///////////////////////////////////////////////////////////////////////////
// TODO: stop and clean up the car threads
///////////////////////////////////////////////////////////////////////////
}