2012年10月29日
摘要: // This example demonstrates a thread-safe method that adds to a// running total. It cannot be run directly. You can compile it// as a library, or add the class to a project.using System.Threading;public class ThreadSafe { // totalValue contains a running total that can be updated // by mult... 阅读全文
posted @ 2012-10-29 23:40 江振 阅读(263) 评论(0) 推荐(0)