Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is an old version of boost. Click here for the latest version's documentation home page.
PrevUpHomeNext

Class template lock_inverter

boost::interprocess::named_condition::lock_inverter

Synopsis

// In header: <boost/interprocess/sync/named_condition.hpp>


template<typename Lock> 
class lock_inverter {
public:
  // construct/copy/destruct
  lock_inverter(Lock &);

  // public member functions
  void lock();
  void unlock();
};

Description

lock_inverter public construct/copy/destruct

  1. lock_inverter(Lock & l);

lock_inverter public member functions

  1. void lock();
  2. void unlock();

PrevUpHomeNext