implement a multithreading operating system for C515C-L with some realtime approaches for c51 compiler