Boost C++ Libraries

PrevUpHomeNext

Struct no_lock

boost::log::sources::no_lock — An auxiliary pseudo-lock to express no locking requirements in logger features.

Synopsis

// In header: <boost/log/sources/threading_models.hpp>


struct no_lock {
  // construct/copy/destruct
  template<typename T> explicit no_lock(T &);
};

Description

no_lock public construct/copy/destruct

  1. template<typename T> explicit no_lock(T &);

    Constructs the pseudo-lock with any type of mutex. The mutex is not affected during construction.


PrevUpHomeNext