﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-花开花落-随笔分类-并行程序设计</title><link>http://www.cnblogs.com/lucifer1982/category/126755.html</link><description /><language>zh-cn</language><lastBuildDate>Thu, 12 Jun 2008 20:05:07 GMT</lastBuildDate><pubDate>Thu, 12 Jun 2008 20:05:07 GMT</pubDate><ttl>60</ttl><item><title>并发数据结构 : SpinWait</title><link>http://www.cnblogs.com/lucifer1982/archive/2008/06/01/1211471.html</link><dc:creator>Angel Lucifer</dc:creator><author>Angel Lucifer</author><pubDate>Sat, 31 May 2008 18:20:00 GMT</pubDate><guid>http://www.cnblogs.com/lucifer1982/archive/2008/06/01/1211471.html</guid><wfw:comment>http://www.cnblogs.com/lucifer1982/comments/1211471.html</wfw:comment><comments>http://www.cnblogs.com/lucifer1982/archive/2008/06/01/1211471.html#Feedback</comments><slash:comments>10</slash:comments><wfw:commentRss>http://www.cnblogs.com/lucifer1982/comments/commentRss/1211471.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/lucifer1982/services/trackbacks/1211471.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 老实说，没有哪个开发人员愿意在其编码时还要考虑线程同步。更糟糕的情况是，编写线程同步代码一点也不好玩。稍一不慎，就会导致共享资源状态不一致，从而引发程序未预期行为。此外，当我们添加线程同步代码时还会导致程序运行变慢，损害性能和可伸缩性。从这点上来看，线程同步简直一无是处。可惜，这也是现实生活中必要的一部分。尤其在多核CPU成为主流的今天。&nbsp;&nbsp;<a href='http://www.cnblogs.com/lucifer1982/archive/2008/06/01/1211471.html'>阅读全文</a><img src ="http://www.cnblogs.com/lucifer1982/aggbug/1211471.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://lucifer1982.cnblogs.com/" target="_blank">Angel Lucifer</a> 2008-06-01 02:20 <a href="http://www.cnblogs.com/lucifer1982/archive/2008/06/01/1211471.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>并发数据结构:Stack</title><link>http://www.cnblogs.com/lucifer1982/archive/2008/04/24/1168483.html</link><dc:creator>Angel Lucifer</dc:creator><author>Angel Lucifer</author><pubDate>Wed, 23 Apr 2008 18:52:00 GMT</pubDate><guid>http://www.cnblogs.com/lucifer1982/archive/2008/04/24/1168483.html</guid><wfw:comment>http://www.cnblogs.com/lucifer1982/comments/1168483.html</wfw:comment><comments>http://www.cnblogs.com/lucifer1982/archive/2008/04/24/1168483.html#Feedback</comments><slash:comments>17</slash:comments><wfw:commentRss>http://www.cnblogs.com/lucifer1982/comments/commentRss/1168483.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/lucifer1982/services/trackbacks/1168483.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: Stack是一种线性数据结构，只能访问它的一端来存储或读取数据。Stack很像餐厅中的一叠盘子：将新盘子堆在最上面，并从最上面取走盘子。最后一个堆在上面的盘子第一个被取走。因此Stack也被称为后进先出结构(LIFO)。&nbsp;&nbsp;<a href='http://www.cnblogs.com/lucifer1982/archive/2008/04/24/1168483.html'>阅读全文</a><img src ="http://www.cnblogs.com/lucifer1982/aggbug/1168483.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://lucifer1982.cnblogs.com/" target="_blank">Angel Lucifer</a> 2008-04-24 02:52 <a href="http://www.cnblogs.com/lucifer1982/archive/2008/04/24/1168483.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>并发数据结构:迷人的原子</title><link>http://www.cnblogs.com/lucifer1982/archive/2008/04/16/1154727.html</link><dc:creator>Angel Lucifer</dc:creator><author>Angel Lucifer</author><pubDate>Wed, 16 Apr 2008 07:10:00 GMT</pubDate><guid>http://www.cnblogs.com/lucifer1982/archive/2008/04/16/1154727.html</guid><wfw:comment>http://www.cnblogs.com/lucifer1982/comments/1154727.html</wfw:comment><comments>http://www.cnblogs.com/lucifer1982/archive/2008/04/16/1154727.html#Feedback</comments><slash:comments>17</slash:comments><wfw:commentRss>http://www.cnblogs.com/lucifer1982/comments/commentRss/1154727.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/lucifer1982/services/trackbacks/1154727.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 随着多核CPU成为主流，并行程序设计亦成为研究领域的热门。Lock-Free编程无疑是其中的一朵奇葩。&nbsp;&nbsp;<a href='http://www.cnblogs.com/lucifer1982/archive/2008/04/16/1154727.html'>阅读全文</a><img src ="http://www.cnblogs.com/lucifer1982/aggbug/1154727.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://lucifer1982.cnblogs.com/" target="_blank">Angel Lucifer</a> 2008-04-16 15:10 <a href="http://www.cnblogs.com/lucifer1982/archive/2008/04/16/1154727.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>并发数据结构:谈谈volatile变量</title><link>http://www.cnblogs.com/lucifer1982/archive/2008/03/23/1116981.html</link><dc:creator>Angel Lucifer</dc:creator><author>Angel Lucifer</author><pubDate>Sun, 23 Mar 2008 15:23:00 GMT</pubDate><guid>http://www.cnblogs.com/lucifer1982/archive/2008/03/23/1116981.html</guid><wfw:comment>http://www.cnblogs.com/lucifer1982/comments/1116981.html</wfw:comment><comments>http://www.cnblogs.com/lucifer1982/archive/2008/03/23/1116981.html#Feedback</comments><slash:comments>19</slash:comments><wfw:commentRss>http://www.cnblogs.com/lucifer1982/comments/commentRss/1116981.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/lucifer1982/services/trackbacks/1116981.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: C#编译器提供了volatile关键字，该关键字可以用于下述类型的静态/实例字段：byte，sbyte，short，ushort，int，uint，char，float和bool。此外，我们还可以将volatile关键字应用于引用类型以及枚举类型的基础类型是byte，sbyte，short，ushot，int，uint，float和bool的枚举字段。volatile关键字告诉C#和JIT编译器不再在CPU寄存器中缓存字段，从而确保字段的所有读写操作都是对内存的读写，JIT编译器则确保其语义正确，这样就不必显式调用Thread的静态方法VolatileXXX了。<br><br>&nbsp;&nbsp;<a href='http://www.cnblogs.com/lucifer1982/archive/2008/03/23/1116981.html'>阅读全文</a><img src ="http://www.cnblogs.com/lucifer1982/aggbug/1116981.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://lucifer1982.cnblogs.com/" target="_blank">Angel Lucifer</a> 2008-03-23 23:23 <a href="http://www.cnblogs.com/lucifer1982/archive/2008/03/23/1116981.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>CLR 2.0 Memory Model</title><link>http://www.cnblogs.com/lucifer1982/archive/2008/03/16/1108456.html</link><dc:creator>Angel Lucifer</dc:creator><author>Angel Lucifer</author><pubDate>Sun, 16 Mar 2008 07:16:00 GMT</pubDate><guid>http://www.cnblogs.com/lucifer1982/archive/2008/03/16/1108456.html</guid><wfw:comment>http://www.cnblogs.com/lucifer1982/comments/1108456.html</wfw:comment><comments>http://www.cnblogs.com/lucifer1982/archive/2008/03/16/1108456.html#Feedback</comments><slash:comments>11</slash:comments><wfw:commentRss>http://www.cnblogs.com/lucifer1982/comments/commentRss/1108456.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/lucifer1982/services/trackbacks/1108456.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 内存模型对于任何编程语言的多线程并发/并行编程都是很重要的部分，发布这篇文章的目的在于为以后描述.NET多线程并发/并行编程做底层基础，尤其是在理解Lock-Free算法时。&nbsp;&nbsp;<a href='http://www.cnblogs.com/lucifer1982/archive/2008/03/16/1108456.html'>阅读全文</a><img src ="http://www.cnblogs.com/lucifer1982/aggbug/1108456.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://lucifer1982.cnblogs.com/" target="_blank">Angel Lucifer</a> 2008-03-16 15:16 <a href="http://www.cnblogs.com/lucifer1982/archive/2008/03/16/1108456.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>关于无锁编程</title><link>http://www.cnblogs.com/lucifer1982/archive/2008/03/16/1108277.html</link><dc:creator>Angel Lucifer</dc:creator><author>Angel Lucifer</author><pubDate>Sun, 16 Mar 2008 04:09:00 GMT</pubDate><guid>http://www.cnblogs.com/lucifer1982/archive/2008/03/16/1108277.html</guid><wfw:comment>http://www.cnblogs.com/lucifer1982/comments/1108277.html</wfw:comment><comments>http://www.cnblogs.com/lucifer1982/archive/2008/03/16/1108277.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/lucifer1982/comments/commentRss/1108277.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/lucifer1982/services/trackbacks/1108277.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: Lock-free算法通常比基于锁的算法要好：从其定义来看，它们是wait-free的，可以确保线程永远不会阻塞。状态转变是原子性的，以至于在任何点失败都不会恶化数据...&nbsp;&nbsp;<a href='http://www.cnblogs.com/lucifer1982/archive/2008/03/16/1108277.html'>阅读全文</a><img src ="http://www.cnblogs.com/lucifer1982/aggbug/1108277.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://lucifer1982.cnblogs.com/" target="_blank">Angel Lucifer</a> 2008-03-16 12:09 <a href="http://www.cnblogs.com/lucifer1982/archive/2008/03/16/1108277.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>