8#include "Arp/System/Commons/Threading/Mutex.hpp"
10namespace Arp {
namespace System {
namespace Commons {
namespace Threading
Simple lock guard, acquiring lock on construction and release it on destruction.
Definition: LockGuard.hpp:15
~LockGuard(void)
Destructs this instance and releases the lock.
Definition: LockGuard.hpp:44
LockGuard & operator=(const LockGuard &arg)=delete
Assignment operator.
LockGuard(Mutex &mutex)
Constructs an LockGuard instance and acquires the assgned lock.
Definition: LockGuard.hpp:38
LockGuard(const LockGuard &arg)=delete
Copy constructor.
Mutual exclusion object to prevent data from concurrent modifications.
Definition: Mutex.hpp:26
void Lock(void)
Tries to acquire the lock.
void Unlock(void)
Releases the lock.
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API