<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>死锁 on Answer</title>
    <link>https://answer.freetools.me/tags/%E6%AD%BB%E9%94%81/</link>
    <description>Recent content in 死锁 on Answer</description>
    <generator>Hugo -- 0.152.2</generator>
    <language>zh-cn</language>
    <lastBuildDate>Fri, 06 Mar 2026 08:58:00 +0800</lastBuildDate>
    <atom:link href="https://answer.freetools.me/tags/%E6%AD%BB%E9%94%81/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>信号处理函数的致命陷阱：为何一条printf能让你的程序彻底死锁</title>
      <link>https://answer.freetools.me/%E4%BF%A1%E5%8F%B7%E5%A4%84%E7%90%86%E5%87%BD%E6%95%B0%E7%9A%84%E8%87%B4%E5%91%BD%E9%99%B7%E9%98%B1%E4%B8%BA%E4%BD%95%E4%B8%80%E6%9D%A1printf%E8%83%BD%E8%AE%A9%E4%BD%A0%E7%9A%84%E7%A8%8B%E5%BA%8F%E5%BD%BB%E5%BA%95%E6%AD%BB%E9%94%81/</link>
      <pubDate>Fri, 06 Mar 2026 08:58:00 +0800</pubDate>
      <guid>https://answer.freetools.me/%E4%BF%A1%E5%8F%B7%E5%A4%84%E7%90%86%E5%87%BD%E6%95%B0%E7%9A%84%E8%87%B4%E5%91%BD%E9%99%B7%E9%98%B1%E4%B8%BA%E4%BD%95%E4%B8%80%E6%9D%A1printf%E8%83%BD%E8%AE%A9%E4%BD%A0%E7%9A%84%E7%A8%8B%E5%BA%8F%E5%BD%BB%E5%BA%95%E6%AD%BB%E9%94%81/</guid>
      <description>深入剖析Unix信号处理中最容易被误解的async-signal-safe概念。从malloc内部锁机制到stdio缓冲区状态，从可重入性到POSIX安全函数列表，系统解析为何printf、malloc等常见函数在信号处理函数中会导致死锁。基于CWE-364安全漏洞分类、glibc ptmalloc实现原理、self-pipe技巧最佳实践，揭示信号处理&amp;#34;只能设置flag&amp;#34;这条规则的深层技术原因。</description>
    </item>
  </channel>
</rss>
