4 #ifndef __FRIOS_POSIX_THREADS_COND_ATTR_HPP__
5 #define __FRIOS_POSIX_THREADS_COND_ATTR_HPP__
38 int fail = pthread_condattr_init(&_attr);
44 : _attr(std::move(tmp._attr))
51 pthread_condattr_destroy(&_attr);
59 #endif // include guard
Wrapper around POSIX condition variable attributes.
Definition: cond_attr.hpp:18
Wraper around POSIX condition variables.
Definition: cond.hpp:18
Base class for all POSIX exceptions.
Definition: error.hpp:14
~cond_attr(void)
Destructor frees any resources related to the attributes.
Definition: cond_attr.hpp:48
Exception class for condition initialization errors.
Definition: cond_attr.hpp:28
Utility for ensuring uniqueness of a variable.
cond_attr(cond_attr &&tmp)
Condition variable attributes are movable.
Definition: cond_attr.hpp:43
cond_attr(void)
Default construction.
Definition: cond_attr.hpp:36
Declaration of exception classes for POSIX errors.
error(int error_code)
Construction from POSIX error code.
Definition: error.hpp:26