Hello every Linux expert, i have a idea but don't know whether it is useful or not.
My idea is like this each process is a function. Meanwhile, you alos need to write one function which handle interupt signal. When exist a interupt signal, do its job. After finished did the job, continue the previous process.
It's extremely diffcult to code kernel using C because its need a deep understand in Links lists, structure, pointer and knowledge of hardware.
I have no idea how to write it but you can refer to the kernel which published at kernel.org.
Understand the code and try to code it yourself.
If you have successfully code the multitasking kernel, please submit your code as a unique article.
Thanks for your co-operation.
Your co-operation is greatly appreciated by me and others.
I hope you can do that.