Thread Synchronization

From the server point of view, after you have decided on a threading model, you must consider concurrency issues. Actually, if you select the single-threaded threading model, you don't have to consider any concurrency issues. If you select the apartment-threading model, you must consider concurrency issues only for global data. If you select the free-threading model, you must consider concurrency for both per-object data and global data.

But what is per-object data and what is global data? Per-object data is data that is local only to the current object. The most common type of per-object data is nonstatic C++ class members. All function local data that is allocated on the stack or the heap is also per-object data. All ...

Get COM+ Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.