Go to the source code of this file.
Functions | |
void | NutThreadAddPriQueue (NUTTHREADINFO *td, NUTTHREADINFO *volatile *tqpp) |
Add a thread to a prioritiy ordered queue. | |
void | NutThreadRemoveQueue (NUTTHREADINFO *td, NUTTHREADINFO *volatile *tqpp) |
Remove a thread from a specified queue. | |
void | NutThreadResume (void) |
Continue with the highest priority thread, which is ready to run. | |
void | NutThreadWake (HANDLE timer, HANDLE th) |
Resume a previously suspended thread. | |
void | NutThreadYield (void) |
Give up the CPU. | |
uint8_t | NutThreadSetPriority (uint8_t level) |
Set the current thread's priority. | |
void | NutThreadExit (void) |
End the current thread. | |
void | NutThreadDestroy (void) |
Free a thread that was previously killed and release memory back to the OS. | |
void | NutThreadKill (void) |
Kill the running thread. | |
HANDLE | GetThreadByName (char *name) |
Query handle of a thread with a specific name. | |
Variables | |
NUTTHREADINFO * | runningThread |
Currently running thread. | |
NUTTHREADINFO * | killedThread |
Thread to be killed. | |
NUTTHREADINFO * | nutThreadList |
List of all created threads. | |
NUTTHREADINFO * | runQueue |
List of ready-to-run threads. |