coroutines

网络  协程; 协同程序; 联立程序

计算机



双语例句

  1. Another installment of this column presents a mechanism for simulating coroutines with simple generators.
    本专栏的前面一部分提出了一种用简单的生成器模拟协同程序的机制。
  2. These are not true coroutines in the sense that they control only branches to and from the scheduler() function.
    这些协同程序并不是真正的协同程序,因为它们只控制到scheduler()函数和来自该函数的分支。
  3. Combining microthreads with coroutines
    将微线程和协作程序结合在一起
  4. For weightless threads, the requirements are slightly different from those for coroutines.
    对于轻便线程来说,它们的需求与协同程序的需求稍有不同。
  5. InfoQ: Do you have any views/ opinions about Fibers/ Coroutines?
    你对纤程和协程有什么见解和意见吗?
  6. In my opinion, the common approach of implementing CSP via thread-like coroutines within a single OS thread gives the user all of the headaches of concurrency with none of the scalability.
    依我看来,这种在操作系统提供的单个线程之内,实现类似多线程一样协同并发工作的CSP的方法,在可扩展性方面让很多人头疼。
  7. Goroutines are lightweight parallel paths of program execution similar to threads, coroutines, or processes.
    Goroutine是轻量级的并行程序执行路径,与线程,coroutine或者进程类似。
  8. Even better, it eliminated the use of native threads, which is how JRuby on standard JVM simulates coroutines now.
    更好的是它不再需要使用本地线程,现在JRuby在标准JVM上就是这样模拟协程的。
  9. InfoQ: How does it relate to Ruby's threading system or Ruby's new Fibers/ Coroutines?
    它与Ruby的线程体系或者Ruby中新的纤程/协程有什么关系?
  10. Stops all coroutines running on this behaviour.
    停止所有动作的协同程序。
  11. MenTaLguY: I think they are a fine alternative to explicit state machines, particularly as coroutines give you more freedom when using library code.
    我认为他们可以很好地代替状态机,特别是协程令你更自由地使用库代码。