tfKernelGetContext
Table of Contents >> Integrating Treck >> Creating a Kernel Interface
#include <trsocket.h> |
ttUserContext tfKernelGetContext | (void); |
Function Description
This call is RTOS specific.This function is called by Treck to get the current context handle for the currently running task. For a multitasking environment, this function would need to get the handle from the current task's private memory (i.e. thread-local storage).
Returns
- (ttUserContext)0
- Failure.
- (Other)
- Success.
Table of Contents >> Integrating Treck >> Creating a Kernel Interface