CPC G06F 9/5038 (2013.01) [G06F 9/5033 (2013.01); G06F 9/505 (2013.01); G06F 2209/5011 (2013.01); G06F 2209/503 (2013.01)] | 9 Claims |
1. A multi-processor system comprising:
a processing unit;
one or more additional processing units, wherein the processing unit and the one or more additional processing units are homogenous processing cores, each configured to execute computationally complex functions and computationally simple functions; and
at least one memory for storing instructions, wherein the instructions, when executed by the processing unit, cause the processing unit to:
acquire a master role for executing a master function part of a set of tasks,
execute the master function for searching for an available processing unit among the one or more additional processing units,
wherein in case an available processing unit is found, the processing unit is configured to keep the master role and to control the found available processing unit to perform a slave function part of the set of tasks, and
in case no available processing unit is found, the processing unit is configured to release the master role and further execute the slave function part of the set of tasks,
wherein the master function comprises a master to slave switching function for releasing the master role and the slave function comprises a slave to master switching function for acquiring the master role upon termination of the slave function,
wherein the instructions, when executed by the another processing unit, cause the another processing unit having no master role to, upon finishing execution of the slave function, attempt to acquire the master role by repeatedly executing the slave to master switching function for acquiring the master role.
|