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上就是這樣模擬協程的。