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

Explain what a diffgram, and a good use for one Define diffgram? How it be used?

1054


What is the difference between first and firstordefault?

957


Can you prevent a class from being instantiated?

1049


Which attribute is used in order that the method can be used as webservice?

972


What is the difference between as and is operators in c#?

974


Explain how do I convert a string to an int in c#?

1013


What is strong name in c# and how can we use it?

989


How do partial classes work in c#?

982


What is a private method in c#?

1103


Enlist some of the properties of a thread class?

980


What is sqlcommandbuilder c#?

990


Tell me the difference between value passing and address passing?

1289


In which way a two-dimensional array declared in C#?

952


What are the advantages of generics in c#?

958


What is using keyword in C#?

1079