'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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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