An open API service indexing awesome lists of open source software.

https://github.com/olk/spawn

replacement of boost.asio's boost::spawn()
https://github.com/olk/spawn

asio boost coroutines fiber fibers stackful-coroutines

Last synced: 6 months ago
JSON representation

replacement of boost.asio's boost::spawn()

Awesome Lists containing this project

README

          

boost.spawn
=============

boost.spawn creates a new fiber and starts new stackful thread of execution.
The spawn() function is a high-level wrapper over the boost.context library. This function
enables programs to implement asynchronous logic in a synchronous manner.
Suspending/resuming of the spawned fiber is controlled by boost.asio.

In contrast to boost.asio that uses the deprecated boost.coroutine
library for its boost::asio::spawn() the implementation of boost.spawn is based only on boost.context.

boost.context requires C++11!