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 are the types of threading models ?

Answer Posted / don

Single Threading: This is the simplest and most common threading
model where a single thread corresponds to your entire
application's
process.
Apartment Threading (STA): This allows multiple threads to
exist in a
single application. In single threading apartment (STA),
each thread
is isolated in it's own apartment. The process may contain
multiple
threads (apartments) however when an object is created in a
thread (i.e. apartment) it stays within that
apartment. If any communication needs to occur between different
threads (i.e. different apartments) then we must marshal the
first
thread object to the second thread.
Free Threading: The most complex threading model. Unlike STA,
threads are not confined to their own apartments. Multiple
treads can
make calls to the same methods and same components at the
same time.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the contents of an assembly ?

935


What is datacontract in c#?

844


While debugging a C# application can you change the value of a variable?

981


How can I make sure my c# classes will interoperate with other .net languages?

964


What are the Types of values mode can hold session state in web.config

944


What is namespace give the example?

841


Explain the importance and use of each, version, culture and publickeytoken for an assembly.

872


What are abstract classes in c#?

832


What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?

941


What is class and object c#?

853


What is the namespcae generally given to the webpage of the .NET Framework ?

983


What is a dynamic assembly?

906


Explain more on CLR

1101


What is querystring in c#?

865


What are the classes contained in a single .NET DLL ?

875