C++ wrapper for FreeRTOS