Question

What are the two major issues of many-to-one threading mode, and how to avoid/address them. Explain...

What are the two major issues of many-to-one threading mode, and how to avoid/address them.

Explain what is thread pool, and describe the problem it tries to solve

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

Answer)
In the many-to-one model of threading mode, the many user-level threads are all mapped onto a single kernel thread. The major issues regarding this mode are that the kernel mode becomes a resource whose unavailability can cause the group of threads to block a group of threads.
It is also more complicated to be implemented as we have to change kernel mode threads as resources.
The thread pool is the design pattern of software which is used for achieving concurrency of execution. A thread pool maintains many threads which are waiting for tasks which can be allocated for the concurrent execution and this all is done by the program which is supervising it. This can be done to increase the performance and also reducing and avoiding the latency during the execution.

Add a comment
Know the answer?
Add Answer to:
What are the two major issues of many-to-one threading mode, and how to avoid/address them. Explain...
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