26 #if KERNEL_EVENT_FLAGS 48 void*
operator new(
size_t sz,
void* pv) {
return reinterpret_cast<EventFlag*
>(pv); };
91 void Set(uint16_t u16Mask_);
97 void Clear(uint16_t u16Mask_);
122 #endif // #if KERNEL_EVENT_FLAGS uint16_t m_u16SetMask
Event flags currently set in this object.
Basic data type primatives used throughout the OS.
Kernel initialization and startup class.
uint16_t GetMask()
GetMask Returns the state of the 16-bit bitmask within this object.
void Set(uint16_t u16Mask_)
Set Set additional flags in this object (logical OR). This API can potentially result in threads bloc...
Blocking object base class declarations.
void Clear(uint16_t u16Mask_)
ClearFlags - Clear a specific set of flags within this object, specific by bitmask.
Mark3 Kernel Configuration This file is used to configure the kernel for your specific application in...
Platform independent thread class declarations Threads are an atomic unit of execution, and each instance of the thread class represents an instance of a program running of the processor. The Thread is the fundmanetal user-facing object in the kernel - it is what makes multiprocessing possible from application code.
uint16_t Wait_i(uint16_t u16Mask_, EventFlagOperation eMode_, uint32_t u32TimeMS_)
Wait_i Interal abstraction used to manage both timed and untimed wait operations. ...
The Thread Class. This object providing the fundamental thread control data structures and functions ...
uint16_t Wait(uint16_t u16Mask_, EventFlagOperation eMode_)
Wait Block a thread on the specific flags in this event flag group.
void Init()
Init Initializes the EventFlag object prior to use.
The EventFlag class. This class implements a blocking object, similar to a semaphore or mutex...
The BlockingObject class. Class implementing thread-blocking primatives. used for implementing things...
void WakeMe(Thread *pclChosenOne_)
WakeMe Wake the given thread, currently blocking on this object.