Question

In C# Pleasee!! Describe four distinct features of multi-threading programming.

In C# Pleasee!!

Describe four distinct features of multi-threading programming.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Thread:
In a program, a thread is a way that divides the program into more than one concurrently executing task. Thread is a lightweight process and one process can have multiple threads. A thread has its own Process Control Block like a process.


A kernel thread is handled by the system scheduler and it run within a process.  One process can have multiple threads and each thread has its own code. This thread runs into the user mode when it is executing the user functions but it switches into the kernel mode when it executes the system call.


A kernel only thread is handled by the kernel-mode through the kernel services and it is executed in kernel mode only.

Advantages of thread in a C# program:

  • A thread concept utilizes the multiprocessor system very effectively because we can schedule multiple threads on multiple processors.
  • Simultaneous access to multiple applications because the context switching time between two threads is less as compared to the process.
  • Thread help to maintain a responsive user interface because a threading system is more responsive. Threads are the lightweight process and it minimizes the use of system resources.
  • Parallelism is achieved by using the thread concept because threads are executed concurrently.
Add a comment
Know the answer?
Add Answer to:
In C# Pleasee!! Describe four distinct features of multi-threading programming.
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT