<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>并发编程 on 编程心语</title>
		<link>https://www.ithome.me/tags/%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B/</link>
		<description>Recent content in 并发编程 on 编程心语</description>
		<generator>Hugo</generator>
		<language>zh-CN</language>
		
		
		
		
			<lastBuildDate>Tue, 04 Aug 2026 14:59:27 +0800</lastBuildDate>
		
			<atom:link href="https://www.ithome.me/tags/%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>SwiftUI @MainActor 深入理解：告别主线程崩溃与 UI 无响应</title>
				<link>https://www.ithome.me/post/2026/07/23/swiftui-mainactor-deep-dive/</link>
				<pubDate>Thu, 23 Jul 2026 08:00:00 +0800</pubDate>
				<guid>https://www.ithome.me/post/2026/07/23/swiftui-mainactor-deep-dive/</guid>
				<description>&lt;h2 id=&#34;为什么你的-swiftui-应用偶尔白屏或崩溃&#34;&gt;为什么你的 SwiftUI 应用偶尔白屏或崩溃？&lt;/h2&gt;&#xA;&lt;p&gt;如果你写过 SwiftUI 应用，大概率遇到过这种场景：App 跑起来后点几下按钮，界面突然卡住不动，或者控制台冒出一堆 &lt;code&gt;Main Thread Checker&lt;/code&gt; 警告，甚至直接崩溃。常见的错误信息是：&lt;/p&gt;</description>
			</item>
			<item>
				<title>Go 并发原语实战：sync.Pool、sync.Once 与 sync.Cond 的正确打开方式</title>
				<link>https://www.ithome.me/post/2026/07/21/go-sync-primitives-pool-once-cond/</link>
				<pubDate>Tue, 21 Jul 2026 08:00:00 +0800</pubDate>
				<guid>https://www.ithome.me/post/2026/07/21/go-sync-primitives-pool-once-cond/</guid>
				<description>&lt;p&gt;Go 的并发编程有两套武器库：一套是 CSP 模型的 goroutine + channel，另一套是标准库 &lt;code&gt;sync&lt;/code&gt; 包提供的底层原语。大多数教程把焦点放在 channel 上，但真正到生产环境里，&lt;code&gt;sync.Pool&lt;/code&gt;、&lt;code&gt;sync.Once&lt;/code&gt; 和 &lt;code&gt;sync.Cond&lt;/code&gt; 这三个原语用得反而不少——它们各自解决 channel 不擅长的问题。本文用实际代码逐一拆解。&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
