Advantages of having multiple threads per process

Asked By 210 points N/A Posted on -
qa-featured

Hi,

What are the advantages of having multiple threads per process instead of single thread per process?

Explain in detail.

Thanks.

SHARE
Best Answer by JohnyGarcia
Best Answer
Best Answer
Answered By 0 points N/A #125638

Advantages of having multiple threads per process

qa-featured

Hi there, Johny here

Using multiple threads has many advantages over single threading. Multiple threading allows different processes to run at the same time without any collision between them, unlike running in single thread, all the processes are linear and needs to wait for the process ahead to finish before executing the next.

With multiple threading, processes, executions can be down simultaneously by placing them in different threads and running them at the same time. Multiple threading is especially useful when a need to run two processes at the same time like playing music while typing in word.

Multi threading also reduces the time a process can finish by simultaneously running processes that can be run together using different threads

Answered By 0 points N/A #195585

Advantages of having multiple threads per process

qa-featured

Hi

I will help you understand single thread and multiple thread. In single threaded process, only one work can be done and it workload increases. But in case of multithread, there is no need to run multiple process. This saves workload. Many things can be done with multiple threads whereas one in single thread.

Related Questions