coroutines

coroutines

 英

  • 网络协程;协同程序;联立程序

例句

Another installment of this column presents a mechanism for simulating coroutines with simple generators.

专栏前面一部分提出一种简单生成器模拟协同程序机制

If your program creates and frees too many coroutines , recycling may be an option to improve its performance.

如果程序创建释放再循环或许提升性能选择

For weightless threads, the requirements are slightly different from those for coroutines.

对于轻便线程来它们需求协同程序需求稍有不同

StopAllCoroutines Stops all coroutines running on this behaviour.

停止所有动作协同程序

Goroutines are lightweight parallel paths of program execution similar to threads, coroutines, or processes.

Goroutine轻量级并行程序执行路径线程coroutine或者进程类似

StopCoroutine Stops all coroutines named methodName running on this behaviour.

停止这个动作methodName所有协同程序

The current API for coroutines does not offer direct support for reusing a coroutine, but we can circumvent this limitation.

当前API并不直接支持重用但是我们绕过这个限制

Coroutines have to have a return type of IEnumerator and you yield using yield return . . .

协同Unity3D论坛程序必须一个返回类型IEnumerator使用收益回报率

Even better, it eliminated the use of native threads, which is how JRuby on standard JVM simulates coroutines now.

更好不再需要使用本地线程现在JRuby标准JVM就是这样模拟

热门查询