coroutine

coroutine

美 [kəru'tin]  英 [kəru:'ti:n]

  • n.联立程序;协同程序
  • 网络协程;协同例程;共行程序

英汉解释

n.
1.
联立程序
2.
协同程序

例句

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”。