Lely core libraries
2.2.5
|
An abstract interface conforming to the BasicLockable concept. More...
#include <mutex.hpp>
Public Member Functions | |
virtual void | lock ()=0 |
Blocks until a lock can be obtained for the current execution agent (thread, process, task). More... | |
virtual void | unlock ()=0 |
Releases the lock held by the execution agent. Throws no exceptions. | |
An abstract interface conforming to the BasicLockable concept.
|
pure virtual |
Blocks until a lock can be obtained for the current execution agent (thread, process, task).
If an exception is thrown, no lock is obtained.
Implemented in lely::canopen::Device::Impl_, lely::canopen::Node::TpdoEventMutex, lely::canopen::BasicMaster::TpdoEventMutex, lely::canopen::LssMaster::Impl_, lely::io::CanNet, and lely::canopen::LssMaster.