翔如菲菲

其实天很蓝,阴云总会散;其实海不宽,此岸连彼岸.

导航

05 2010 档案

IOCP Thread Pooling in C# Part 2
摘要:摘自:http://www.devarticles.com/c/a/C-Sharp/IOCP-Thread-Pooling-in-C-sharp-Part-II/Defining the SolutionWe will build a class that encapsulates a single IOCP thread pool. The application developer will ... 阅读全文

posted @ 2010-05-17 00:06 翔如飞飞 阅读(480) 评论(0) 推荐(1)

IOCP Thread Pooling in C# Part 1
摘要:摘自:http://www.theukwebdesigncompany.com/articles/iocp-thread-pooling.phpPart One: Introduction When building server based applications in C#, it is important to have the ability to create thread pool... 阅读全文

posted @ 2010-05-17 00:05 翔如飞飞 阅读(469) 评论(0) 推荐(0)

C#和Java的闭包-Jon谈《The Beauty of Closures》
摘要:第一段略。。。大多数讲闭包的文章都是说函数式语言,因为它们往往对闭包的支持最完善。当你在使用函数式语言时,很可能已经清楚了解了什么是闭包,所以我想写一篇在经典OO语言出现的闭包有什么用处应该也是很合适的事情。这篇文章我准备讲一下C#(1、2、3)和JAVA(7以前版本)的闭包。什么是闭包?简单来讲,闭包允许你将一些行为封装,将它像一个对象一样传来递去,而且它依然能够访问到原来第一次声明时的上下文。这样可以使控制结构、逻辑操作等从调用细节中分离出来。访问原来上下文的能力是闭包区别一般对象的重要特征,尽管在实现上只是多了一些编译器技巧。利用例子来观察闭包的好处(和实现)会比较容易, 下面大部份内容 阅读全文

posted @ 2010-05-12 08:48 翔如飞飞 阅读(404) 评论(0) 推荐(0)

High Performance Multi-threaded Work Item / Event Scheduling Engine
摘要:此文转自代码工程:http://www.codeproject.com/KB/threads/SchedulingEngine.aspxIntroduction This article is the first of a multi-part series that will cover the architecture and implementation of components nee... 阅读全文

posted @ 2010-05-11 00:16 翔如飞飞 阅读(565) 评论(0) 推荐(0)

Design and Implementation of a High-performance TCP/IP Communications Library
摘要:此文转自代码工程:http://www.codeproject.com/KB/IP/CommLibrary.aspxIntroduction This article is the second of a multi-part series that will cover the architecture and implementation of components needed to cr... 阅读全文

posted @ 2010-05-11 00:12 翔如飞飞 阅读(383) 评论(0) 推荐(0)