0
Will an OS running in single tasking mode (not multitasking mode) take advantage of both cores in a dual core processor?
EDIT: In response to the first comment: Yes, but when the computer boots there is only one task running; the bootloader. My question is: At that point, are both cores running the same task or can both only be used when in multitasking mode.
1I think you need to expand on your question a bit more. An OS is always "multi-tasking" even on a single core CPU. That's largely the point of an OS is to allow for scheduling of tasks on the available CPU time. – Foosh – 2015-01-19T21:11:32.293
The bootloader is not really part of the OS.
– Ƭᴇcʜιᴇ007 – 2015-01-19T21:26:03.670Even the kernel could run in single tasking mode with it being the only task. – Isaac D. Cohen – 2015-01-19T21:27:14.117
https://stackoverflow.com/questions/14261612/which-core-initializes-first-when-a-system-boots - I don't know what code the APs (the non "bootstrap processor") is running but it's likely just halted or spinlocking in an idle-loop while the designated BSP is running the boot time firmware. – LawrenceC – 2015-01-19T21:32:14.187