tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
try_to_lock_t Struct Reference

Empty struct tag types used to specify locking strategy for etl::lock_guard, etl::scoped_lock, etl::unique_lock, and etl::shared_lock. More...

#include <tags.hpp>

Public Member Functions

 try_to_lock_t ()=default
 

Related Symbols

(Note that these are not member symbols.)

constexpr auto try_to_lock = try_to_lock_t{}
 Instances of empty struct tag types. See try_to_lock_t.
 

Detailed Description

Empty struct tag types used to specify locking strategy for etl::lock_guard, etl::scoped_lock, etl::unique_lock, and etl::shared_lock.

Try to acquire ownership of the mutex without blocking.

Constructor & Destructor Documentation

◆ try_to_lock_t()

try_to_lock_t ( )
explicitdefault

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