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