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 use of the COM+ synchronization infrastructure.