REAL Multitasking #3196
-
I want to do multitasking but i am so confused.I don't know how to do multi-core in cosmos i just can't figure it out. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Taking full control over all of the logical CPUs available will most likely be supported in gen3. Limine provides a MP (multiprocessor) feature, which does most of the heavy lifting of initializing the CPUs for us. We're aiming to make gen3 more customizable and modular, and thus the system won't initialize other cores by default - but the option to take control over these cores is planned. When it comes to multi-tasking, NuGet packages that implement schedulers would most probably implement multi-core scheduling. We haven't yet discussed other issues inherent to SMP, e.g. IPIs, TLB shootdowns, thread safety, et cetera, so SMP support will probably come quite late. |
Beta Was this translation helpful? Give feedback.
On x86, multicore is only planned using SMP for gen3.