boost-coroutine2

Differences between Boost.Coroutine and Boost.Coroutine2

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-01 16:52:18
What are the main differences between Boost.Coroutine and Boost.Coroutine2 ? Some differences: Boost.Coroutine2 requires C++11 Boost.Coroutine provides symmetric and asymmetric coroutines, Boost.Coroutine2 only provides asymmetric coroutines. boost.coroutine2 is the follow-up project of boost.coroutine (boost.coroutine will be marked as deprecated soon) boost.coroutine2 uses class execution_context from boost.context boost.coroutine is implemented with the deprecated C-like fcontext-API from boost.context 来源: https://stackoverflow.com/questions/37343873/differences-between-boost-coroutine-and

Differences between Boost.Coroutine and Boost.Coroutine2

筅森魡賤 提交于 2019-12-01 15:00:20
问题 What are the main differences between Boost.Coroutine and Boost.Coroutine2 ? 回答1: Some differences: Boost.Coroutine2 requires C++11 Boost.Coroutine provides symmetric and asymmetric coroutines, Boost.Coroutine2 only provides asymmetric coroutines. 回答2: boost.coroutine2 is the follow-up project of boost.coroutine (boost.coroutine will be marked as deprecated soon) boost.coroutine2 uses class execution_context from boost.context boost.coroutine is implemented with the deprecated C-like fcontext