This completes all the processing at once and then turns over all the resources to the consumer thread.
在这种模式下,将依次完成各个处理过程,并将结果统一返回给消费线程。
2
It turns out that the weightless thread version runs for slightly more than twice as long as the straight loop version — a little less than 3 seconds versus just over 6 on the mentioned machine.