coroutines
常见例句
- Coroutines have a different syntax in C#.
使用C%23实现协同,在语法上会有一处不同。 - If your program creates and frees too many coroutines, recycling may be an option to improve its performance.
如果你的程序创建和释放太多的协程,再循环或许是个提升性能的选择。 - Coroutines can save processor overhead and reduce redundancy because they allow you to stop execution of a procedure midstream, return a value, and resume exactly where the procedure left off.
协同例程允许用户中途停止程序执行,返回一个值,并准确地在过程停止的位置恢复操作,从而能够节省处理器系统开销,降低冗余。 - Similarly, C offers only straightforward, single-thread control flow: tests, loops, grouping, and subprograms, but not multiprogramming, parallel operations, synchronization, or coroutines.
类似地,C只提供单线程的控制流:测试、循环、组合和子程序。它不提供多道程序设计、并行操作、同步和协同例程。 - The current API for coroutines does not offer direct support for reusing a coroutine, but we can circumvent this limitation.
当前的协程API并不直接支持重用协程,但是我们可绕过这个限制。 - 4. Coroutines have a different syntax in C#.
使用C%23实现协同,在语法上会有一处不同。 返回 coroutines