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就是這樣模擬