Question: Which are NOT good methods used in designing multithreaded programs ? create threads that need to communicate or synchronize frequently create threads for parallel computations
Which are NOT good methods used in designing multithreaded programs
create threads that need to communicate or synchronize frequently
create threads for parallel computations that depend on each other's data
put most computional work on one thread to benefit from processor affinity and create many threads for tasks that have to block frequently on IO
allocate work to threads so that the need for synchronization between threads due to dependency and sharing is reduced
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
