smartsid Posted February 2, 2003 Posted February 2, 2003 What threading model is used in Dotnet. Is it STA,MTA,Apartment or free. Can anybody tell what exactly these stand for? Quote
*Gurus* divil Posted February 2, 2003 *Gurus* Posted February 2, 2003 An apartment is a logical container within a process for objects sharing the same thread access requirements. All objects in the same apartment can receive calls from any thread in the apartment. The .NET Framework does not use apartments, and managed objects are responsible for using all shared resources in a thread-safe manner themselves. Full free-threading is available in .NET. MTA and STA stand for multithreaded apartment and single-threaded apartment, respectively. There is a great deal on threads in the documentation. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.