Mark3 Realtime Kernel
Mark3::ThreadPort Class Reference

The ThreadPort Class defines the target-specific functions required by the kernel for threading. More...

#include <ithreadport.h>

Static Public Member Functions

static void Init ()
 Init Function to perform early init of the target environment prior to using OS primatives. More...
 
static void StartThreads ()
 StartThreads Function to start the scheduler, initial threads, etc. More...
 

Static Private Member Functions

static void InitStack (Thread *pstThread_)
 InitStack Initialize the thread's stack. More...
 

Friends

class Thread
 

Detailed Description

The ThreadPort Class defines the target-specific functions required by the kernel for threading.

This is limited (at this point) to a function to start the scheduler, and a function to initialize the default stack-frame for a thread.

Definition at line 35 of file ithreadport.h.

Member Function Documentation

◆ Init()

static void Mark3::ThreadPort::Init ( void  )
inlinestatic

Init Function to perform early init of the target environment prior to using OS primatives.

Definition at line 43 of file ithreadport.h.

◆ InitStack()

void Mark3::ThreadPort::InitStack ( Thread pstThread_)
staticprivate

InitStack Initialize the thread's stack.

Parameters
pstThread_Pointer to the thread to initialize

Definition at line 43 of file threadport.cpp.

◆ StartThreads()

void Mark3::ThreadPort::StartThreads ( )
static

StartThreads Function to start the scheduler, initial threads, etc.

Definition at line 100 of file threadport.cpp.

Friends And Related Function Documentation

◆ Thread

friend class Thread
friend

Definition at line 50 of file ithreadport.h.


The documentation for this class was generated from the following files: