如果您使用这个变数将参考传回类别的执行个体,则执行绪共用执行绪可以修改执行个体的成员,并当做传回值使用。
If you use this variable to pass a reference to an instance of a class, the members of the instance can be modified by the thread-pool thread and used as return values.
如果同时有太多执行绪,则其中多数的进度会相当缓慢。
If there are too many threads, most of them will not make significant progress.
不过,如果您建立含有函式评估的执行绪,则该执行绪会视为一般程序执行期间中的执行绪处理。
However, if you create a thread with a function evaluation, the thread is treated the same as it would be during normal program execution.
应用推荐