cpp-pthread
(v1.7.3)
Simple C++ wrapper to pthread functions.
|
#include <exceptions.hpp>
Public Member Functions | |
mutex_exception (const std::string &message, const int pthread_errno=-1) | |
![]() | |
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 () |
throw to indicate that something went wrong with a mutex.
Definition at line 81 of file exceptions.hpp.
|
explicit |
thrown when mutex actions fail
message | short description |
pthread_errno | error returned by the pthread function |
Definition at line 47 of file exceptions.cpp.