Page 1 of 1

How can I create a separate thread for some function?

Posted: Mon Oct 21, 2019 6:53 am
by mrjbom
Hello.
I want to create functions that will work independently of kmain, what is needed for this and how is it implemented?

Re: How can I create a separate thread for some function?

Posted: Mon Oct 21, 2019 7:02 am
by iansjack
That's a massive question. I think perhaps you need to do a little reading and research.

Here's a starting point: https://wiki.osdev.org/Multitasking_Systems

But I would recommend that you read a book or two about operating system design.