What are the types of threading models ?
Answers were Sorted based on User's Feedback
Answer / mohan kumar e.
Single Thread Apartment Model (STAThread)
Multiple Thread Apartment Model (MTAThread)
| Is This Answer Correct ? | 10 Yes | 3 No |
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 |
Answer / ahmed fawzy
there are two types
1-user mode
2-kernel mode
| Is This Answer Correct ? | 5 Yes | 5 No |
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 |
What is access modifier in c#?
1.write a program in C# to find a given point which is inside in a circle. Given circle's radius and its center point? 2.Write a program in C# to generated 20 prime numbers greater than a given number? (It should be more efficient for large numbers also) 3. Write a Code to check whether a given point is inside a circle or not? given Circle's raduis and its center point. 4. using oops concept, design an elevator do not forget buttons on each floor..
Is c# an array?
What is an Interface in C#?
0 Answers TryTechnicals Pvt Ltd,
Can we extend static class in c#?
How do you implement thread synchronization in c#?
what are wrapper classes?
What is the difference between interface and functional interface?
How garbage collection deals with circular references.
How do I port "synchronized" functions from visual j++ to c#?
How are delegates chosen?
What all details the assembly manifest will contain?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)