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 ?

Answers were Sorted based on User's Feedback



What are the types of threading models ?..

Answer / mohan kumar e.

Single Thread Apartment Model (STAThread)
Multiple Thread Apartment Model (MTAThread)

Is This Answer Correct ?    10 Yes 3 No

What are the types of threading models ?..

Answer / 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

What are the types of threading models ?..

Answer / ahmed fawzy

there are two types

1-user mode

2-kernel mode

Is This Answer Correct ?    5 Yes 5 No

What are the types of threading models ?..

Answer / armaan lakvi

1.Apartment threading model(single threading model).
2. Free threading model(multi threaded apartment).
3. Rental threading model.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How many catch blocks can be there for a single try block?

5 Answers   Clover, HCL,


What is the difference between static class and singleton class in c#?

0 Answers  


Is c# an open source language?

0 Answers  


Can we override interface method?

0 Answers  


What is difference between assembly and namespace?

0 Answers  


What does type safe mean in c#?

0 Answers  


How many types of methods are there in c#?

0 Answers  


What are the Types of JIT and what is econo-JIT

0 Answers   TCS,


Why would you use untrusted verification?

0 Answers  


what is the need of using interface in program ex:if we have a program like this interface1() { void method1(); void method(); } class a1 : interface1 { a1 b = new b(); b.method1(); b.method2(); } so without using interface also we can achieve this then wat is the need to use the interface? plz give me the answer

1 Answers  


How long has c# been around?

0 Answers  


What is the differences between datagrid, datalist and repeater in .net?

0 Answers  


Categories