Dining Philosophers, Reader Writer Problem and Multiple Sleeping Barber IPC problems