多重执行绪可以同时存取应用程序状态变数。
Application state variables can be accessed by multiple threads at the same time.
若要允许多重执行绪存取集合以进行读写,您必须实作自己的同步处理。
To allow the collection to be accessed by multiple threads for reading and writing, you must implement your own synchronization.
多执行绪:如何使用同步类别说明如何使用可用来同步处理从多重执行绪到单一物件之存取的类别。
Multithreading: how to use the Synchronization classes describes how to use the classes that are available to synchronize access from multiple threads to a single object.
应用推荐