<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	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>线程安全 - 四号程序员</title>
	<atom:link href="https://www.coder4.com/archives/tag/%E7%BA%BF%E7%A8%8B%E5%AE%89%E5%85%A8/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Mon, 16 Sep 2013 01:24:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>Make a reentrant parser with Flex and Bison（Flex&#038;Bison的线程安全）</title>
		<link>https://www.coder4.com/archives/3978</link>
					<comments>https://www.coder4.com/archives/3978#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Mon, 16 Sep 2013 01:24:15 +0000</pubDate>
				<category><![CDATA[计算机技术]]></category>
		<category><![CDATA[bison]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[线程安全]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=3978</guid>

					<description><![CDATA[转载自：http://www.lemoda.net/c/reentrant-parser/index.html Making a reentrant (thread-safe) parser with Flex and Bison involves several stages. To eliminate global variables from Flex, use the following line: %option reentrant This changes yylex[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/3978/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>关于gevent的微线程“eventlet”同步问题</title>
		<link>https://www.coder4.com/archives/2186</link>
					<comments>https://www.coder4.com/archives/2186#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Tue, 20 Sep 2011 15:44:24 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Gevent]]></category>
		<category><![CDATA[同步]]></category>
		<category><![CDATA[线程安全]]></category>
		<category><![CDATA[锁]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=2186</guid>

					<description><![CDATA[理论上讲，Python是不存在线程安全问题的，由于GIT么，但是这是有前提的：sleep，I/O导致的wait都可能会引发线程安全隐患。 同理，gevent是基于事件驱动模型的，就不太可能是线程安全的。 gevent.coros.Semaphore提供了信号量的功能，可以是n个哦！ semaphore.acquire() -&#62; 获取“锁” semaphore.release() -&#62; 释放“锁” gevent的文档写的真简介啊，于是测试了个基本的同步方法：同[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/2186/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>HttpClient多线程</title>
		<link>https://www.coder4.com/archives/1200</link>
					<comments>https://www.coder4.com/archives/1200#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Wed, 01 Dec 2010 15:36:01 +0000</pubDate>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[HttpClient]]></category>
		<category><![CDATA[Java && J2EE]]></category>
		<category><![CDATA[多线程]]></category>
		<category><![CDATA[线程安全]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=1200</guid>

					<description><![CDATA[转载并整理自：HttpClient Theading 简介 这篇文章概括了怎样在多线程环境下安全的使用HttpClient。 MultiThreadedHttpConnectionManager 在HttpClient中使用多线程的一个主要原因是可以一次执行多个方法。在执行期间，每一个方法都使用一个HttpConnection实例。由于在同一时间多个连接只能安全地用于单一线程和方法和有限的资源，我们就必须确保连接分配给正确的方法。而MultiThreadedHttpConnect[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/1200/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Java Concurrency in Practice 读书笔记 第四章</title>
		<link>https://www.coder4.com/archives/895</link>
					<comments>https://www.coder4.com/archives/895#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Thu, 12 Aug 2010 02:06:44 +0000</pubDate>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Java && J2EE]]></category>
		<category><![CDATA[线程安全]]></category>
		<category><![CDATA[读书笔记]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=895</guid>

					<description><![CDATA[第四章  组成（线程安全的）对象 4.1  设计线程安全的类 设计一个线程安全的类包含如下准则： 1、识别出哪些变量将改变类的状态 2、识别出约束状态变量的不变条件 3、建立起规则，用于管理并发访问状态的状态 如果一个对象的field都是由基本数据类型(int long等)组成的，则所有这些field就构成了对象的全部状态。 如果对象的field中还包含引用，则对象状态还要包括这些引用变量中的隐含数据。例如LinkedList中的Node。 为了方便后人阅[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/895/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
