<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Fiber - 标签 - 研发日志 · R&amp;D Log</title><link>https://rd163.visword.com/tags/fiber/</link><description>Fiber - 标签 - 研发日志 · R&amp;D Log</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>whutluohui@gmail.com (小智晖)</managingEditor><webMaster>whutluohui@gmail.com (小智晖)</webMaster><copyright>本作品采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。</copyright><lastBuildDate>Mon, 31 Mar 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://rd163.visword.com/tags/fiber/" rel="self" type="application/rss+xml"/><item><title>C++协程介绍</title><link>https://rd163.visword.com/posts/fiber-intro-for-cpp/</link><pubDate>Mon, 31 Mar 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/fiber-intro-for-cpp/</guid><description><![CDATA[<h2 id="协程corouting与纤程fiber区别" class="headerLink">
    <a href="#%e5%8d%8f%e7%a8%8bcorouting%e4%b8%8e%e7%ba%a4%e7%a8%8bfiber%e5%8c%ba%e5%88%ab" class="header-mark"></a>协程(corouting)与纤程(fiber)区别</h2><h3 id="协程coroutine" class="headerLink">
    <a href="#%e5%8d%8f%e7%a8%8bcoroutine" class="header-mark"></a>协程（Coroutine）​</h3><p>N:1协程</p>
<p>协程是语言级别的特性（C++20原生支持），由编译器生成状态机逻辑，通过co_await、co_yield等关键字实现隐式挂起和恢复，无需直接操作底层上下文。</p>]]></description></item></channel></rss>