Jurassic Park consists of a dinosaur museum and a park for safari tiding. There are n passengers and m single-passenger cars. Passengers wander around the museum for a while, then line up to take a ride in a safari car. When a car is available, it loads the one passenger it can hold and rides around the park for a random amount of time. If the m cars are all out riding passenger around, the passenger who wants to ride waits; if a car is ready to load but there are no waiting passengers, then the car waits. Use semaphores to synchronize the n passenger threads/processes and the m car threads/processes.
6 freelancers are bidding on average $195 for this job
Dear, sir Thank you for your inviting. I have understood the scenario. What is the last result and what kind of platform? I hope to discuss about details of this project. Thanks and regards, PSZJVC
Hello, Thanks for inviting me for bidding on this. Yes. I have expertise needed in C threading concepts needed to get this done. I can get a working solution with documentation by Sunday. Thanks, Shweta
Hi, I have extensive experience with multi threaded programming in c,c++ and fully qualified to solve this problem in very less amount of time in minimum budget. Thanks Deepanjan