'Yieldable' means a flow of instructions can be interrupted to let other flow of instructions run. The flow of instructions can contain 'yield' points at any places, and when the execution comes to that place, the execution returns to its caller, so that the caller can execute another flow of instructions. It is analogous to the operating system when it switches a thread context to another. The execution information is stored when a flow yielded, and is resumed later starting at the place of the yield.

Typical use case of this is when you execute multiple things on single execution thread. It is often seen as 'Reactor pattern' or 'Event Driven Execution pattern'

Project Activity

See All Activity >

Follow YieldableProgram

YieldableProgram Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of YieldableProgram!

Additional Project Details

Programming Language

C++

Registered

2013-12-02