Thread context. More...
#include <cmsis-plus/rtos/os.h>
Public Member Functions | |
Constructors & Destructor | |
context () | |
Construct a thread context object instance. | |
~context ()=default | |
Destruct the context object instance. | |
Public Member Functions | |
thread::stack & | stack (void) |
Get the associated stack. | |
Thread context.
The thread context includes the stack object and port specific structures.
On some ports (like the Cortex-M) the thread context is stored on the stack and a pointer to the current location is kept in the context object instance.
On other ports (like the synthetic POSIX port), the makecontext() functions create and manage large ucontex_t structures stored in the context object instance.
Definition at line 656 of file os-thread.h.
|
inline |
Construct a thread context object instance.
Definition at line 2241 of file os-thread.h.
|
default |
Destruct the context object instance.
|
inline |
Get the associated stack.
Definition at line 2249 of file os-thread.h.