O'Reilly logo

COM+ Programming: A Practical Guide Using Visual C++ and ATL by Pradeep Tapadiya

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Concurrency

In the previous chapter, we saw that COM+ classes can be configured with a variety of run-time requirements. We defined “context” as a set of run-time requirements of an object. One such runtime requirement is concerned with the concurrency management of the object. Under Windows OS, a process can execute multiple threads concurrently, each of which carries out a specific task. Developing a multithreaded application requires careful designing. In this chapter, we look at various issues involved with multithread programming and examine the infrastructure provided by COM+ to simplify developing components that are safe from concurrent access. Finally, we look at different techniques to design components that make efficient ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required