Different reasonable threading models that are compatible with Corba
Are there various threading models that we can use within Corba servers? What are these and what are the "how to's"?
Are there various threading models that we can use within Corba servers? What are these and what are the "how to's"?
Yes. There are different threading models that can be used within corba servers. It can be done by designing an architecture which would support single threaded objects and be able to host them in a multi threaded software application. From doing this there are two types of threading models.
a.      Single Threaded Apartment
This are used to hold single thread objects, they have restrictions in that it can be run by the application that created it.
b.     Multi Threaded apartment
They don’t have any restrictions can be executed on any application Not necessarily the one that created. They are also called free threaded apartments.
Â
Â
Â
Â