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上就是这样模拟协程的。