Mark3 Realtime Kernel
criticalguard.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 "mark3cfg.h"
23 #include "criticalsection.h"
24 
25 namespace Mark3 {
26 
27 //---------------------------------------------------------------------------
39 public:
42  }
43 
46  }
47 };
48 } // namespace Mark3
static void Exit()
Exit Exit a critical section, re-enabling kernel-aware interrupts, and releasing exclusive control of...
Definition: atomic.cpp:23
Mark3 Kernel Configuration This file is used to configure the kernel for your specific application in...
Critical Section Support.
The CriticalGuard class. This class provides an implemention of RAII for critical sections...
Definition: criticalguard.h:38
static void Enter()
Enter Enter a critical section, disabling all kernel-aware interrupts, and giving exclusive control o...