Home > other >  Multi-process multi-threaded
Multi-process multi-threaded

Time:12-02

If only one process in the computer, and the process has multiple threads want to ask everybody to multiple cpus can serve a process?
If not, there is only one CPU service for the process, we know that if the CPU number> number of threads, multi-thread parallel and that this process of how to realize the parallel thread, it is met very awkward question,
If can of words, multiple cpus to serve a process, it can do?

CodePudding user response:

This, think a little bit about the should be able to, multiple cpus is service more than one process, is to serve all processes running on the computer, estimated that in the eyes of the CPU, there is no process concept, are each task, constantly switch

CodePudding user response:

reference at the 1st floor response:
this, think a little bit about the should be able to, multiple cpus is service more than one process, is to serve all processes running on the computer, estimated that in the eyes of the CPU, there is no process concept, are each task, and constantly switch

There's something wrong with me this whole, think now, such as an application to run as a process, such as the software is a music player, it can download two songs played and not by accident, at this time you can play to the effect of multicore CPU,

CodePudding user response:

reference at the 1st floor response:
this, think a little bit about the should be able to, multiple cpus is service more than one process, is to serve all processes running on the computer, estimated that in the eyes of the CPU, there is no process concept, are each task, and constantly switch

There's something wrong with me this whole, think now, such as an application to run as a process, such as the software is a music player, it can download two songs played and not by accident, at this time you can play to the effect of multicore CPU,

CodePudding user response:

reference at the 1st floor response:
this, think a little bit about the should be able to, multiple cpus is service more than one process, is to serve all processes running on the computer, estimated that in the eyes of the CPU, there is no process concept, are each task, and constantly switch

There's something wrong with me this whole, think now, such as an application to run as a process, such as the software is a music player, it can download two songs played and not by accident, at this time you can play to the effect of multicore CPU,
  • Related