为了让您的多执行绪元件成为安全执行绪,您必须协调共用资源的存取。
In order for your multithreaded components to be thread-safe, you must coordinate access to Shared resources.
列举值通常没有集合的独占存取权,因此列举集合本质上并非安全执行绪的程序。
Typically the enumerator does not have exclusive access to the collection; therefore, enumerating through a collection is intrinsically not a thread-safe procedure.
由于大小和效能因素,MFC 物件在物件层级上不是安全执行绪,只有在类别层级上才是。
For size and performance reasons, MFC objects are not thread-safe at the object level, only at the class level.
应用推荐