Libthreadar  1.4.0
Classes | Functions
libthreadar Namespace Reference

This is the only namespace used in libthreadar and all symbols provided by libthreadar are member of this namespace. More...

Classes

class  barrier
 the class barrier allows several threads to synchronize between them More...
 
class  condition
 Wrapper around the Posix pthread_cond_t object and its associated mutex. More...
 
class  exception_base
 Pure virtual class parent of all libthreadar exceptions. More...
 
class  exception_memory
 Exception used to report memory allocation failures. More...
 
class  exception_bug
 Exception used to report webdar internal bugs. More...
 
class  exception_thread
 Exception used to report error met when manipulating threads. More...
 
class  exception_system
 Exception used to report operating system errors. More...
 
class  exception_range
 Exception used to report out or range value or argument. More...
 
class  exception_feature
 Exception used to report an non-implemented feature. More...
 
class  fast_tampon
 Class fast_tampon provides asynchronous communication between two threads. More...
 
class  freezer
 Class freezer is a semaphore like construct that has no maximum value. More...
 
class  mutex
 Wrapper around the Posix pthread_mutex_t C objects. More...
 
class  ratelier_gather
 the class ratelier_gather has a fixed length range of slots of arbitrary defined object type More...
 
class  ratelier_scatter
 the class ratelier_scatter has a fixed length range of slots of arbitrary defined object type More...
 
class  semaphore
 Class semaphore is an enhanced version of Posix semaphore. More...
 
class  tampon
 DEPRECATED see fast_tampon instead! More...
 
class  thread
 Class thread is a pure virtual class, that implements thread creation and operations. More...
 

Functions

template<class T >
exception_basecloner (void *const ptr)
 Template used by libthreadar to implement the clone() method for libthreadar exceptions.
 
void get_version (unsigned int &major, unsigned int &medium, unsigned int &minor)
 provides the version of libthreadar More...
 

Detailed Description

This is the only namespace used in libthreadar and all symbols provided by libthreadar are member of this namespace.

Function Documentation

◆ get_version()

void libthreadar::get_version ( unsigned int &  major,
unsigned int &  medium,
unsigned int &  minor 
)

provides the version of libthreadar

Parameters
[out]majoris incremented when the API changes in a way it becomes incompatible with previous API so user program have to be adapted to be used with it else they might even not compile.
[out]mediumis incremented when new features are added to the library in a way it stays compatible with previous version of the API (user program should not need to be modified nor recompiled)
[out]minoris incremented when bug fix is brought to the library without any new feature or feature enhancment nor API modification.