[C#多线程编程(二)] 线程同步基础

原文:http://www.albahari.com/threading/part2.aspx

PART 2: BASIC SYNCHRONIZATION

同步之本质

So far, we’ve described how to start a task on a thread, configure a thread, and pass data in both directions. We’ve also described how local variables are private to a thread and how references can be shared among threads, allowing them to communicate via common fields.

迄今为止,我们已经讲述了如何在一个线程里启动一个任务,配置一个线程以及双向的传递数据。我们也讲述了如何使本地变量保持对某个线程私用以及如何在线程之间共享引用,允许它们通过公共字段进程通信。

 

(占位)

原文地址:https://www.cnblogs.com/xcf007/p/2570983.html