System thread
Since 0.4.6:
The System Thread is a system configuration that helps ensure the application loop is not interrupted by the system background processing and network management. It does this by running the application loop and the system loop on separate threads, so they execute in parallel rather than sequentially.
Its use is recommended for all applications.
// EXAMPLE USAGE
#ifndef SYSTEM_VERSION_v620
SYSTEM_THREAD(ENABLED); // System thread defaults to on in 6.2.0 and later and this line is not required
#endif
With Device OS 6.2.0 and later, system thread is enabled by default. In a later version of Device OS, non-threaded mode will be removed entirely.