Multithreading interface depending on system (currently FreeRTOS, RTX and Windows). Creating joinable/non-joinable threads, setting priority, mortal threads (for secure execution) and mutexes (robust and recursive)
TODO: multithreading for Linux (pthread, etc)