EtcPal  HEAD (unstable)
ETC Platform Abstraction Layer (EtcPal)
View other versions:
SupportsTimedLock< LockType > Struct Template Reference

Overview

template<typename LockType>
struct etcpal::SupportsTimedLock< LockType >

Trait reporting whether SynchronizedValue::TryToSynchronize() honors its timeout for LockType on the target platform.

Defaults to false. EtcPal's lock types are specialized to reflect their platform capability macros (e.g. ETCPAL_MUTEX_HAS_TIMED_LOCK). Specialize this for a custom lock type to advertise timed-lock support.

Inheritance diagram for SupportsTimedLock< LockType >:

The documentation for this struct was generated from the following file: