17. Jurassic Park consists of a dinosaur museum and a park for safari riding. There are m passengers and n 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 n cars are all out riding passengers around, then a passenger who wants to ride waits; if a car is ready to load but there are no waiting passengers, then the car waits.
Using synchronization tools like locks, semaphores and monitorssynchronize the m passenger processes and the n car processes
Answers
Answered by
0
Answer:
hey dude it's a movie. don't take it serious
Similar questions
Social Sciences,
5 months ago
Physics,
5 months ago
Math,
5 months ago
Computer Science,
11 months ago
Hindi,
11 months ago
Physics,
1 year ago
Geography,
1 year ago
Math,
1 year ago