liteRTOS process scheduling added with special delay function.