Templated base class to facilitate making Virtual{LockType} from a LockType class that derives from VirtualBasicLockable, and also meets the C++ named Lockable requirements by providing try_lock().
Example: class VirtualMutex : public GenericLockable<Mutex> {};
Public Member Functions | |
| bool | try_lock () |
Public Member Functions inherited from pw::sync::VirtualBasicLockable | |
| void | lock () |
| void | unlock () |
Additional Inherited Members | |
Protected Types inherited from pw::sync::VirtualBasicLockable | |
| enum class | Operation { kLock , kUnlock } |
Protected Member Functions inherited from pw::sync::GenericBasicLockable< LockType > | |
| LockType & | impl () |