- Given A Study Room Booking System That Manage 100 Study Rooms With Two Functions Book Numberofroom And Cancel Number 1 (57.51 KiB) Viewed 27 times
Given a study room booking system that manage 100 study rooms with two functions: book (numberofroom) and cancel (number
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Given a study room booking system that manage 100 study rooms with two functions: book (numberofroom) and cancel (number
Given a study room booking system that manage 100 study rooms with two functions: book (numberofroom) and cancel (numberofroom). These two functions allow students to book one or more rooms for their friends and cancel their room booking respectively. Explain how a race condition is possible by giving one example of situation and what can be done to prevent the race condition from occurring.