Exemplo n.º 1
0
void GUI_X_WaitEvent(void)    {
  _pGUITask = OS_GetpCurrentTask();
  OS_WaitEvent(1);
}
Exemplo n.º 2
0
void sys_thread_exit( void )
{
    // Terminate the current/calling task
    OS_TerminateTask(OS_GetpCurrentTask());
}