Counts all vowels in text files that are given as input by the user using Multithreading, pthread.h library of the c++ is used for the implementation
The sleeping barber problem is a classic interprocessing problem that uses mutual exlusion and semaphores to synchronize a barber and his or her customers such that each customer has his or her hair cut in order.
https://en.wikipedia.org/wiki/Sleeping_barber_problem
The server code listens for connections and when a new client arrives a new thread is created which then continues communication with the client.