This question needs to be doneusing Semaphores and mutex locks (linux based, C++)
(Mutex and Semaphores At most S0 pople arnside ho bus a any given trn At most 1 person is occupying a seat with 30 seats being available in the bus. Implement the given constraints using semaphores. As a hint, you are required to write two functions such as enter/leave bus () and
OR
OR