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: 8 months ago
JSON representation
replacement of boost.asio's boost::spawn()
- Host: GitHub
- URL: https://github.com/olk/spawn
- Owner: olk
- Created: 2021-06-27T15:29:56.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-28T19:28:08.000Z (over 4 years ago)
- Last Synced: 2025-03-26T18:17:19.150Z (about 1 year ago)
- Topics: asio, boost, coroutines, fiber, fibers, stackful-coroutines
- Language: C++
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!