![]() |
Dataflow Runtime API
3.0.3.0
|
Guards a critical section. More...
#include <Imt.Base.OS.WinEC7/Guard.h>
Public Member Functions | |
Guard (Mutex &mutex) | |
Constructor. More... | |
virtual | ~Guard (void) |
Destructor. More... | |
Guards a critical section.
Immutable class.
Multiple threads may share one mutex object, but only one single thread may guard the mutex and therefore be inside a critical section at any time.
|
explicit |
Constructor.
Constructs a new guard and acquires the mutex.
|
virtual |
Destructor.
Releases the mutex.