Lets say you have 10 threads, in one function and you want to maximize parallelity between them, what is the best way to do that:
1. with 10 mutexes, assign each mutex to a thread?
2. with semaphore (0, 10) ?
3. with array/list of mutexes?
What would you do?
Thanks,
Best way to maximize parallelity in multi Threaded program?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Benjamin Scharbach20 reputationPosted Oct 14, 2017, 9:52 AM EDT