c++ boost
文章平均质量分 80
随心小太阳
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Asynchronous programming using coroutines
sample code for Asynchronous programming using coroutines #include #include #include #include #include void wait_and_print(boost::asio::yield_context yield, boost::asio原创 2017-01-24 19:23:04 · 327 阅读 · 0 评论 -
c++ boost coroutine
For thread, the os help us schedule the thread automatically. For coroutine, we need to schedule the thread manually. There are benefits for coroutine over the thread. The os dont have to be b原创 2017-01-24 19:00:50 · 904 阅读 · 0 评论 -
Asynchronous TCP server using coroutines
The server: #include #include #include #include #include #include #include #include #include namespace asio = boost::asio; typedef boost::shared_ptr socketptr; void handle_connection(a原创 2017-01-24 19:38:48 · 352 阅读 · 0 评论
分享