-
I'd like to create a simple thread that do something in another core, in Pure64 I can see that the other cores are initialized. Does the kernel provides some functionality to execute, lets say, a function in another core? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Just a quick note first - BareMetal does not support multi-threading in the conventional sense. Multi-core is supported based on the available hardware (as well as "virtually" via Intel HyperThreading). So if your system has 8 CPU Cores you can execute 8 things concurrently. smptest.asm is a very small example of this.
|
Beta Was this translation helpful? Give feedback.
Just a quick note first - BareMetal does not support multi-threading in the conventional sense. Multi-core is supported based on the available hardware (as well as "virtually" via Intel HyperThreading). So if your system has 8 CPU Cores you can execute 8 things concurrently.
smptest.asm is a very small example of this.
b_system
is called withsmp_set
to set a CPU core to run code.