Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between STA and MTA?

Answer Posted / umarali

STA:

1.STA stands for Single Threaded Apartment
2.In STA,there may be multiple apartment.But only single
thread can be executed in a apartment.
3.In STA, if there is a need to communicate between threads
we need a proxy, they can not do it directly.
4.MTA applications execute slower than STA
5.If the COM object cannot handle its own synchronization
i.e not thread safe then the STA model can be used

MTA:

1.MTA stands for Multi Threaded Apartment
2.In MTA, only one apartment will be there and all threads
will execute within that single apartment.
3.In MTA, threads communicate directly to each other without
a proxy.
4.MTA applications typically execute faster than STA because
there is less system overhead and can be optimized to
eliminate system idle time.
5.If the COM object can handle its own synchronization then
the MTA model can be used

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the two ways to add constraints to a route?

917


What is needed for running an application built on winfx on the .net framework 3.0?

887


What filters are executed in the end?

976


What is definingquery in entity framework? : Entity framework

931


Asp.net mvc application, makes use of settings at 2 places for routing to work correctly. What are these 2 places?

1111


what is client wins and store wins mode in entity framework concurrency?

1159


Explain the advantages of dependency injection (di) in asp.net mvc?

996


Is .net framework 4.8 the last version?

979


Mention the core components of .net framework?

922


Will the name change be reflected in any of the existing .net framework 2.0 apis, assemblies, or namespaces?

941


Which .net framework is installed?

917


Explain representational state transfer (rest) in detail?

966


When using razor views, do you have to take any special steps to protect your asp.net mvc application from cross site scripting (xss) attacks?

1253


What is entity framework used for?

992


What is orm entity framework?

909