SYNOPSIS
#include <hal.h>
int hal_start_threads();
int hal_stop_threads();
DESCRIPTION
The hal_start_threads() function starts all threads that have been created. This is the point at which realtime functions start being called.
The hal_stop_threads() function stops all threads that were previously started by hal_start_threads(). It should be called before any component that is part of a system exits.
RETURN VALUE
Returns a HAL status code.