Struct template strictest_lock
boost::log::sources::strictest_lock — The metafunction selects the most strict lock type of the specified.
Synopsis
template<typename... LocksT>
struct strictest_lock {
typedef implementation_defined type;
};
Description
The template supports all lock types provided by the Boost.Thread library (except for upgrade_to_unique_lock
), plus additional pseudo-lock no_lock
that indicates no locking at all. Exclusive locks are considered the strictest, shared locks are weaker, and no_lock
is the weakest.