Add mutex to the multi-threads assuming you have a shared


Question: 1- Extend the Client-Server Application, in previous Homework, to support Multi-threads.

2- Add Mutex to the Multi-threads. Assuming you have a shared variable (or shared file). Use Mutex to protect against simultaneous access from multiple clients (or multiple threads).

3- Perform simultaneous operations. If using key store server, issues 5 PUT, 5 GET, and 5 DEL. Observe that the result is consistent with that if executed serially.

4- The CPU has multiple cores. Assign each thread to run on a specific core to enhance performance.

5- You can implement functionalities such as OPEN, READ, WRITE, SETATTRIB, DEL, MKDIR, RMDIR. The key result is that your servers should be able to handle requests from multiple clients to do concurrent operations (i.e., 5 READ, 5 WRITE, 5 DELETE).

Request for Solution File

Ask an Expert for Answer!!
Computer Networking: Add mutex to the multi-threads assuming you have a shared
Reference No:- TGS02272178

Expected delivery within 24 Hours