C++ RTOS API