coroutine
美 [k?ru'tin]
英 [k?ru:'ti:n] 
- n.聯立程序;協(xié)同程序
- 網絡協(xié)程;協(xié)同例程;共行程序
英漢解釋
例句
Threads do not start when created; instead, a co-routine is started after the fact, using coroutine. resume(t), where t is a thread.
線程不會在創(chuàng)建時啟動;相反,它是在創(chuàng)建之后使用coroutine.resume(t)啟動的,其中t就是一個線程。
As before, of course, we don't have to rewrite both routines using the coroutine macros. One will suffice; the other can be its caller.
就像以前,當然,我們不需要不得不重寫兩個代碼,用這個協(xié)程宏。一個就夠了,另外一個是調用者。
Another interesting development is the work on coroutine support for MLVM (and perhaps eventually for JVM proper).
另一個有趣的東西是針對MLVM(也許最終是針對JVM本身)的協(xié)程支持工作。
Goroutines are lightweight parallel paths of program execution similar to threads, coroutines, or processes.
Goroutine是輕量級的并行程序執(zhí)行路徑,與線程,coroutine或者進程類似。
A thread is a co-routine created by calling the built-in function coroutine. create(f), where f is a Lua function.
線程是通過調用內嵌函數coroutine.create(f)創(chuàng)建的一個協(xié)同例程(co-routine),其中f是一個Lua函數。
The current API for coroutines does not offer direct support for reusing a coroutine, but we can circumvent this limitation.
當前的協(xié)程API并不直接支持重用協(xié)程,但是我們可繞過這個限制。
In order to create a scheduler for weightless threads (microthreads), I removed the coroutine logic for "please branch to here. "
為了創(chuàng)建一個輕便線程(微線程)調度程序,我刪除了協(xié)作程序邏輯“pleasebranchtohere”。