17#ifndef MBED_SCOPEDLOCK_H
18#define MBED_SCOPEDLOCK_H
20#include "platform/NonCopyable.h"
62template <
typename Lockable>
Prevents generation of copy constructor and copy assignment operator in derived classes.
RAII-style mechanism for owning a lock of Lockable object for the duration of a scoped block.
ScopedLock(Lockable &lockable)
Locks given lockable object.