example code to create and terminate an attached thread ========================================================== .. literalinclude:: code/osal_attached_thread_example.c :language: c