cpp-pthread
(v1.7.3)
Simple C++ wrapper to pthread functions.
|
#include <exceptions.hpp>
Public Member Functions | |
thread_exception (const std::string &message, const int pthread_error=-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 () |
thrown to indicate that something went wrong with a thread
Definition at line 125 of file exceptions.hpp.
pthread::thread_exception::thread_exception | ( | const std::string & | message, |
const int | pthread_error = -1 |
||
) |
message | short error description. |
pthread_error | value return by a function in the pthread library. |
Definition at line 62 of file exceptions.cpp.