Posted 16 May 2014 - 11:09 PM
Hello community,
I read a post about "How do I creat an OS?" and there was a wonderful answer by @apemanzilla. He/She talked about that an OS isn't just a GUI and a collection of programs. In his opinion an OS will need "multitasking" (There is no real multitasking in Lua for those who don't know) also. He/She said that the parallel API is too limitied also.
So I decided to start writing my own "multitasking" API. I would wonder if what I did would work, so I want to ask if anyone could "take an eye on it" and help to debug it.
Here is the code: http://pastebin.com/QacNTUW9
It would really help me if anyone of you could help me with this messy piece of code :)/>
~Freack100
I read a post about "How do I creat an OS?" and there was a wonderful answer by @apemanzilla. He/She talked about that an OS isn't just a GUI and a collection of programs. In his opinion an OS will need "multitasking" (There is no real multitasking in Lua for those who don't know) also. He/She said that the parallel API is too limitied also.
So I decided to start writing my own "multitasking" API. I would wonder if what I did would work, so I want to ask if anyone could "take an eye on it" and help to debug it.
Here is the code: http://pastebin.com/QacNTUW9
It would really help me if anyone of you could help me with this messy piece of code :)/>
~Freack100