<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cashplk的心路历程 &#187; thread</title>
	<atom:link href="http://cashplk.com/tag/thread/feed/" rel="self" type="application/rss+xml" />
	<link>http://cashplk.com</link>
	<description>学无止境，梦如夏花～</description>
	<lastBuildDate>Sat, 31 Jul 2010 10:15:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>关于进程和线程的区别</title>
		<link>http://cashplk.com/2009/09/07/%e5%85%b3%e4%ba%8e%e8%bf%9b%e7%a8%8b%e5%92%8c%e7%ba%bf%e7%a8%8b%e7%9a%84%e5%8c%ba%e5%88%ab/</link>
		<comments>http://cashplk.com/2009/09/07/%e5%85%b3%e4%ba%8e%e8%bf%9b%e7%a8%8b%e5%92%8c%e7%ba%bf%e7%a8%8b%e7%9a%84%e5%8c%ba%e5%88%ab/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 01:35:54 +0000</pubDate>
		<dc:creator>cashplk</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[线程]]></category>
		<category><![CDATA[进程]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[thread]]></category>

		<guid isPermaLink="false">http://cashplk.com/2009/09/07/%e5%85%b3%e4%ba%8e%e8%bf%9b%e7%a8%8b%e5%92%8c%e7%ba%bf%e7%a8%8b%e7%9a%84%e5%8c%ba%e5%88%ab/</guid>
		<description><![CDATA[&#160;&#160;&#160; 对进程和线程有点误解，找个时间看了下操作系统设计与实现，记录如下。 &#160; &#160;&#160;&#160;&#160;&#160; 进程(process)：一个进程就是一个正在执行的程序。每个进程只存在一个地址空间和一个控制流。 在MINIX 3中，进程的内存空间被分为三个部分：代码段，数据段和栈段。数据段从下往上增长，而栈从上向下增长。 &#160;&#160;&#160;&#160;&#160;&#160;&#160; 有些情况下需要在相同的地址空间中有多个控制流并行的运行，就像他们是单独的进程一样（只是它们共享相同的地址空间）。这些控制流通常被称为线程(thread)，有时也被称为轻量进程(lightweight process)。 &#160;&#160;&#160;&#160;&#160; 进程具有的另外一个概念是它是一个执行流，通常称为线程。进程用来集合资源，线程是CPU中调度的实体。线程给进程模型增加的是，允许在同一个进程环境中有多个执行流，这些流在很大程度上相对独立。]]></description>
			<content:encoded><![CDATA[<p>&#160;&#160;&#160; 对进程和线程有点误解，找个时间看了下操作系统设计与实现，记录如下。</p>
<p>&#160;</p>
<p>&#160;&#160;&#160;&#160;&#160; 进程(process)：一个进程就是一个正在执行的程序。每个进程只存在一个地址空间和一个控制流。</p>
<p>在MINIX 3中，进程的内存空间被分为三个部分：代码段，数据段和栈段。数据段从下往上增长，而栈从上向下增长。</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; 有些情况下需要在相同的地址空间中有多个控制流并行的运行，就像他们是单独的进程一样（只是它们共享相同的地址空间）。这些控制流通常被称为线程(thread)，有时也被称为轻量进程(lightweight process)。</p>
<p>&#160;&#160;&#160;&#160;&#160; 进程具有的另外一个概念是它是一个执行流，通常称为线程。进程用来集合资源，线程是CPU中调度的实体。线程给进程模型增加的是，允许在同一个进程环境中有多个执行流，这些流在很大程度上相对独立。</p>
]]></content:encoded>
			<wfw:commentRss>http://cashplk.com/2009/09/07/%e5%85%b3%e4%ba%8e%e8%bf%9b%e7%a8%8b%e5%92%8c%e7%ba%bf%e7%a8%8b%e7%9a%84%e5%8c%ba%e5%88%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->