Mark3 Realtime Kernel
ithreadport.h
Go to the documentation of this file.
1 /*===========================================================================
2  _____ _____ _____ _____
3  ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______
4 | \ / | || \ || | || |/ / ||___ |
5 | \/ | || \ || \ || \ ||___ |
6 |__/\__/|__|_||__|\__\ __||__|\__\ __||__|\__\ __||______|
7  |_____| |_____| |_____| |_____|
8 
9 --[Mark3 Realtime Platform]--------------------------------------------------
10 
11 Copyright (c) 2012 - 2019 m0slevin, all rights reserved.
12 See license.txt for more information
13 ===========================================================================*/
20 #pragma once
21 
22 #include <stdint.h>
23 
24 namespace Mark3
25 {
26 //------------------------------------------------------------------------
27 class Thread;
36 {
37 public:
43  static void Init() {}
44 
49  static void StartThreads();
50  friend class Thread;
51 
52 private:
59  static void InitStack(Thread* pstThread_);
60 };
61 } // namespace Mark3
static void StartThreads()
StartThreads Function to start the scheduler, initial threads, etc.
Definition: threadport.cpp:100
static void Init()
Init Function to perform early init of the target environment prior to using OS primatives.
Definition: ithreadport.h:43
Definition: atomic.cpp:23
The Thread Class. This object providing the fundamental thread control data structures and functions ...
Definition: thread.h:64
static void InitStack(Thread *pstThread_)
InitStack Initialize the thread&#39;s stack.
Definition: threadport.cpp:43
The ThreadPort Class defines the target-specific functions required by the kernel for threading...
Definition: ithreadport.h:35