Answer the question
In order to leave comments, you need to log in
The concept of a processor in parallel programming?
Hello
Explain the meaning of the expression "distribution of calculations between processors." Do you mean some computer system containing n physical processors? Then how does a program run in parallel on a regular PC, where there is only one processor?
Answer the question
In order to leave comments, you need to log in
There is a package, if I don't confuse the term. This is the physical crap that sticks into the board. That's what you call the "processor" in the question. A package can have many compute cores, 2,4,8,16 and so on. And it is the cores that work in parallel: each core, independently of the other, at the same moment can perform its part of the task.
In parallel, programs on the same processor are executed in parts.
That is, the execution of one program is interrupted, another is executed. Then it is also interrupted, the first one is executed.
In multitasking operating systems, this is monitored by the system kernel. It keeps track of how much time to allocate to various processes. Processes, respectively, can partially block the interrupt in certain places.
In older tasks, the programmer himself followed this, connecting his handlers to interrupts, for example, creating resident programs in DOS.
on a normal PC, where there is only one processor?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question