in reply to WorkCrew threading
Would the time gain be ~ 10 by using this approach on a single processor ...
No. There would be no gain at all. In fact, there would be a penalty.
1 thread x 1 work == 1 work.
10 threads x ( 1/10th work + context switches ) = 1 work + 10xcontext switches.
|
|---|