mirror of https://github.com/ARMmbed/mbed-os.git
parent
fc41c3d8e3
commit
3a04e6ae78
|
@ -60,7 +60,7 @@ namespace mbed {
|
||||||
template <typename Lockable>
|
template <typename Lockable>
|
||||||
class ScopedLock : private NonCopyable<ScopedLock<Lockable> > {
|
class ScopedLock : private NonCopyable<ScopedLock<Lockable> > {
|
||||||
public:
|
public:
|
||||||
/** Locks given locable object
|
/** Locks given lockable object
|
||||||
*
|
*
|
||||||
* @param lockable reference to the instance of Lockable object
|
* @param lockable reference to the instance of Lockable object
|
||||||
* @note lockable object should outlive the ScopedLock object
|
* @note lockable object should outlive the ScopedLock object
|
||||||
|
|
Loading…
Reference in New Issue