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 a snapshot of the develop branch, built from commit 9759d076a6.
PrevUpHomeNext

Class lock_exception

boost::interprocess::lock_exception

Synopsis

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


class lock_exception : public boost::interprocess::interprocess_exception {
public:

  // public member functions
  lock_exception(error_code_t = lock_error) noexcept;
  const char * what() const noexcept;
};

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 member functions

  1. lock_exception(error_code_t err = lock_error) noexcept;
  2. const char * what() const noexcept;

PrevUpHomeNext