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 the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Class lock_exception

boost::interprocess::lock_exception

Synopsis

// In header: <boost/interprocess/exceptions.hpp>


class lock_exception : public boost::interprocess::interprocess_exception {
public:
  // construct/copy/destruct
  lock_exception();

  // public member functions
  virtual const char * what() const;
};

Description

This is the exception thrown by shared interprocess_mutex family when a deadlock situation is detected or when using a interprocess_condition the interprocess_mutex is not locked

lock_exception public construct/copy/destruct

  1. lock_exception();

lock_exception public member functions

  1. virtual const char * what() const;

PrevUpHomeNext