hi,
I was wondering what is the best use in multicore threading. Big function with all the code a need or spleeping the code in many little function. And at the same time is multicore threading is better using the same function on all the core than using function1 on core 1 and 2 and function2 on core 3 and 4, for axample.
thanks.
in my case i remarks that big function run faster, there may be a limit of size but it is out of the scope. Or smal function using INLINE at compile time for outside function. So big function looh to be the best. Same function on 4 core is better than 2 function on 2 core.
One more question. In case of the 1 function on 4 core does the instruction are copied to the for core or one core send instruction to the 4 core.
;))