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

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(error_code_t = lock_error) noexcept;

  // public member functions
  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 construct/copy/destruct

  1. lock_exception(error_code_t err = lock_error) noexcept;

lock_exception public member functions

  1. const char * what() const noexcept;

PrevUpHomeNext