Write a C program that finds the maximum and minimum values in an array of random ints using threads. You must use the functions in pthreads.h to create and manage the threads. The array must contain 10,000 randomly generated ints in the range 0..50,000 with no duplicated values. You must run your program using 2, 10, and 100 threads. Your program must display the maximum and minimum values and how long it took each run to execute. Create the array when the program begins. Use the identical array values for each run. The program should display the first 10 and last 10 values in the array at the start of execution. Capture the runtime output for each of the three executions along with the timing information
Hi,
I am interested in doing it.
But i need to know what do you exactly mean by "capture timing information", do you mean total run time of each execution ?
I will be available on chat please tell me if you are interested
Thanks