do this using mutex andsemaphores (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 take/give seat() which print whether
OR
OR