COM+ Programming A Practical Guide Using Visual C++ and ATL [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

COM+ Programming A Practical Guide Using Visual C++ and ATL [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید




Summary


In this chapter, we looked at various issues involved with multithreaded programming. We saw that protecting an object from concurrent access requires complex programming. To simplify component development, COM+ offers a choice of threading strategies to developers. To deal with the threading strat-egy used by a component, COM+ defines the notion of apartments. The type of apartment dictates the way calls are dispatched to the apartment.

To provide synchronized access to an object, COM+ provides activity-based synchronization.

Finally, we looked at various techniques to develop thread-safe code that leverages the infrastructure provided by COM+.


/ 125