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 is entitycontainer? : Entity framework

1070


how can you tell ef to have a different table or column name than that defined for the class?

1105


What is the difference between windows vista and .net framework 3.0 ?

1052


What is the advantage of using asp.net routing?

1153


Why to use Html.Partial in ASP.Net MVC?

1181


explain what does .edmx file contains?

1134


what is entity sql?

1148


what is minimum requirement for entity framework applications to run?

1194


What is the use of action filters in an mvc application?

1176


What are the components required to create a route in mvc?

1135


What is the meaning of unobtrusive javascript?

1100


what is explicit loading?

1165


Can we add constraints to the route? If yes, explain how we can do it?

1274


Is razor a server side?

1039


What are the benefits of .net framework?

1064