What kind of strategies we can have for using thread pools? Name two of them.
Create a number of threads at process startup and place them into a pool, where they sit and wait for work.
Why the windows uses one-to-one mapping for the threads while it has many-to-many available?
One-to-one model provides more concurrency than many-to-one model
Please specify the differences between processes and threads.
Threads are easier to create than processes since they don't require a separate address space.
Processes are independent of each other. Threads, since they share the same address space are interdependent, so caution must be taken so that different threads don't step on each other.
A process can consist of multiple threads
COPYRIGHT (c) 2016 ePortfolio ALL RIGHTS RESERVED.