How can I create a separate thread for some function?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
mrjbom
Member
Member
Posts: 322
Joined: Sun Jul 21, 2019 7:34 am

How can I create a separate thread for some function?

Post by mrjbom »

Hello.
I want to create functions that will work independently of kmain, what is needed for this and how is it implemented?
User avatar
iansjack
Member
Member
Posts: 4705
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

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

Post 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.
Post Reply