Design a multithreading program to sort N vectors, each vector is of size M. Each thread should work on one vector. In addition each thread calculates the summation of each vector. You should put the total summation of all vectors as a global variable and use the semaphore MUTEX to protect it. The main method should print out the sorted vectors and the total sum of all vectors.
Note: Mutex SHOULD be used there.
I attached the Mutex code to this project.
7 freelancers are bidding on average $106 for this job
Hello, I am expert and dedicated in C++ Development.I am very much interested for your project. I can complete your project quickly and efficiently in time. Details will be discussed in the message.