<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gil on 编程心语</title>
		<link>https://www.ithome.me/tags/gil/</link>
		<description>Recent content in Gil on 编程心语</description>
		<generator>Hugo</generator>
		<language>zh-CN</language>
		
		
		
		
			<lastBuildDate>Sun, 02 Aug 2026 19:21:48 +0000</lastBuildDate>
		
			<atom:link href="https://www.ithome.me/tags/gil/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Python 3.14 自由线程实战：无 GIL 的 Python 到底怎么用</title>
				<link>https://www.ithome.me/post/2026/08/03/python-free-threading-guide/</link>
				<pubDate>Mon, 03 Aug 2026 08:00:00 +0800</pubDate>
				<guid>https://www.ithome.me/post/2026/08/03/python-free-threading-guide/</guid>
				<description>&lt;h2 id=&#34;gil-终于不再是标配&#34;&gt;GIL 终于不再是&amp;quot;标配&amp;quot;&lt;/h2&gt;&#xA;&lt;p&gt;如果你写过 Python 多线程，一定听过这句话：&lt;strong&gt;线程是并发的，但不是并行的&lt;/strong&gt;。罪魁祸首就是 GIL（Global Interpreter Lock，全局解释器锁）——同一时刻只允许一个线程执行 Python 字节码，导致 CPU 密集型任务用多线程毫无加速，只能退而求其次用 &lt;code&gt;multiprocessing&lt;/code&gt; 多进程。&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
