coroutine
美 [kəru'tin]
英 [kəru:'ti:n] 
- n.联立程序;协同程序
- 网络协程;协同例程;共行程序
英汉解释
例句
Threads do not start when created; instead, a co-routine is started after the fact, using coroutine. resume(t), where t is a thread.
线程不会在创建时启动;相反,它是在创建之后使用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.
就像以前,当然,我们不需要不得不重写两个代码,用这个协程宏。一个就够了,另外一个是调用者。
Another interesting development is the work on coroutine support for MLVM (and perhaps eventually for JVM proper).
另一个有趣的东西是针对MLVM(也许最终是针对JVM本身)的协程支持工作。
Goroutines are lightweight parallel paths of program execution similar to threads, coroutines, or processes.
Goroutine是轻量级的并行程序执行路径,与线程,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)创建的一个协同例程(co-routine),其中f是一个Lua函数。
The current API for coroutines does not offer direct support for reusing a coroutine, but we can circumvent this limitation.
当前的协程API并不直接支持重用协程,但是我们可绕过这个限制。
In order to create a scheduler for weightless threads (microthreads), I removed the coroutine logic for "please branch to here. "
为了创建一个轻便线程(微线程)调度程序,我删除了协作程序逻辑“pleasebranchtohere”。