<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Thread on 积极向上</title>
    <link>https://www.keyboard-man.com/tags/thread/</link>
    <description>Recent content in Thread on 积极向上</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <lastBuildDate>Wed, 08 Jan 2025 17:19:05 +0800</lastBuildDate>
    <atom:link href="https://www.keyboard-man.com/tags/thread/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>解决数据竞争-Valgrind</title>
      <link>https://www.keyboard-man.com/post/valgrind_data_race/</link>
      <pubDate>Wed, 08 Jan 2025 17:19:05 +0800</pubDate>
      <guid>https://www.keyboard-man.com/post/valgrind_data_race/</guid>
      <description>&lt;h4 id=&#34;一背景&#34;&gt;一、背景&lt;/h4&gt;&#xA;&lt;p&gt;数据竞争在多线程编程中容易出现且难以察觉，尤其是项目复杂变量变多之后。靠人力阅读代码心智负担太大，这时候引入&lt;strong&gt;valgrind&lt;/strong&gt;工具就可以帮我们很容易发现数据竞争从而解决问题。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
