Question: When implementing a parallel algorithm, explain the advantages of using threads to using multiple processes. A running process may transition to one of the following
- When implementing a parallel algorithm, explain the advantages of using threads to using multiple processes.
- A running process may transition to one of the following states - Waiting, Ready, Terminated or Swapped. Explain what would cause a running process to transition to each one of these states
- Why is it easier to program "synchronous" inter-process communication rather than "asynchronous" inter-process communication?
- Discuss the differences between an ordinary pipe and a named pipe.
- Both Linux and Windows map one user thread to one kernel thread. Explain why this is preferred over pure user-threads or pure kernel-threads.
Step by Step Solution
There are 3 Steps involved in it
Advantages of using threads to using multiple processes when implementing a parallel algorithm Threads are lightweight Creating and destroying threads is much faster and less expensive than creating a... View full answer
Get step-by-step solutions from verified subject matter experts
