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::timeout_exception Class Reference

#include <exceptions.hpp>

Inheritance diagram for pthread::timeout_exception:
pthread::pthread_exception

Public Member Functions

 timeout_exception (const std::string &message)
 
- 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

pthread operation timed out.

Examples:
exceptions-tests.cpp.

Definition at line 69 of file exceptions.hpp.

Constructor & Destructor Documentation

pthread::timeout_exception::timeout_exception ( const std::string &  message)
explicit

thrown when a time out occurs.

Parameters
messagetimeout condition

Definition at line 42 of file exceptions.cpp.


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