Multithreading: When to Start and Exit threads
问题 I am a little further along on this exercise and was not sure if I should post an answer with my updated code, edit my original post, or ask a new question. If I am not following protocol, please advise. What I have done so far is read in the input file and assigned all the integers to an array. I then divided the total number of integers ( index ) by the number of threads ( number_of_threads ) to find the optimal numbers_per_thread . I then create a while loop to increment through all the