I'm in a 4-core machine with Intel processor, Windows 10.
I've made an example app forcing a loop , just to check the task manager and see what happens, something simple like this :
while true do begin end;
I'd expect the cpu will be at 100% with my process running at 100% too ; this was what happened back then when processors have only one core.
But this is not what happens now, my app never uses more then 25% of total CPU power, as shown on task manager. Because it's a 4-core machine, i'm wondering if it's using only one core at full capacity.
Is this 'issue' due the fact i'm running only one thread ?
What should i make to my app really take advantage of all processing power available ?