Hi doppler,
Processes are assigned to the individual processor kernels by the operating system. It is possible to divide the main process into individual threads, but how to guarantee that individual threads will process specific kernels, I do not know. This division is perhaps only my programmer's pig .... pseudo code:
DO
process = process + 1
if process mod 2 = 0 then ------ this section applies to each second pass
if process mod 3 = 0 then ------ this section is used every third pass
if process> 3 then process = 0
LOOP
but it is necessary to take into account in this solution that process 4 is already divisible by two, so process 4 will be carried out simultaneously with process 2.
If someone writes a better solution, so please share!