cpp-pthread  (v1.7.3)
Simple C++ wrapper to pthread functions.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
Public Member Functions | List of all members
pthread::read_write_lock_exception Class Reference

#include <exceptions.hpp>

Inheritance diagram for pthread::read_write_lock_exception:
pthread::pthread_exception

Public Member Functions

 read_write_lock_exception (const std::string &message, const int pthread_errno=-1)
 
- Public Member Functions inherited from pthread::pthread_exception
 pthread_exception (const std::string &message, const int pthread_errno=-1)
 
virtual const char * what () const noexceptoverride
 
virtual int pthread_errno ()
 
virtual const char * pthread_errmsg ()
 

Detailed Description

throw to indicate that something went wrong with a read/write lock

Definition at line 95 of file exceptions.hpp.

Constructor & Destructor Documentation

pthread::read_write_lock_exception::read_write_lock_exception ( const std::string &  message,
const int  pthread_errno = -1 
)
explicit

thrown when read_write_lock actions fail

Parameters
messageshort description
pthread_errnoerror returned by the pthread function

Definition at line 52 of file exceptions.cpp.


The documentation for this class was generated from the following files: