HomeServicesBlogDictionariesContactSpanish Course
← Back to search

Meaning of semicoroutine | Babel Free

Noun CEFR C1

Definitions

A type of coroutine with limited control over its execution flow that can yield values multiple times, suspending its execution and allowing the caller to resume it later. However, unlike full coroutines, semicoroutines do not specify where the execution will continue after yielding; control is always returned to the caller.

Examples

“Each incarnations needs some block structure information (static and dynamic link, display or such like), a return label, n+1 label variables for the activation points of the cooperation (in the "semicoroutine" case) and of the n coprocedures and the space needed for parameters and locals.”
“C# 2.0 added semi-coroutine functionality through the iterator pattern and yield keyword.”

CEFR level

C1
Advanced
This word is part of the CEFR C1 vocabulary — advanced level.

See also

Learn this word in context

See semicoroutine used in real conversations inside our free language course.

Start Free Course