Nut/OS  4.10.3
API Reference
context.c File Reference
#include <cfg/os.h>
#include <string.h>
#include <sys/atom.h>
#include <sys/heap.h>
#include <sys/thread.h>
Include dependency graph for context.c:

Go to the source code of this file.

Data Structures

struct  SWITCHFRAME
 ARM7TDMI GCC context switch frame layout. More...
struct  ENTERFRAME
 Thread entry frame layout. More...

Functions

void NutThreadSwitch (void)
 Switch to another thread.
HANDLE NutThreadCreate (char *name, void(*fn)(void *), void *arg, size_t stackSize)
 Create a new thread.