Libthreadar  1.0.1
 All Classes Namespaces Files Functions Macros
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  exception_base
 Pure virtual class parent of all webdar exceptions. More...
 
class  exception_bug
 Exception used to report webdar internal bugs. More...
 
class  exception_feature
 Exception used to report an non-implemented feature. More...
 
class  exception_memory
 Exception used to report memory allocation failures. More...
 
class  exception_range
 Exception used to report out or range value or argument. More...
 
class  exception_system
 Exception used to report operating system errors. More...
 
class  exception_thread
 Exception used to report error met when manipulating threads. More...
 
class  mutex
 Wrapper around the Posix pthread_mutex_t C objects. More...
 
class  semaphore
 Class semaphore is an enhanced version of Posix semaphore. More...
 
class  tampon
 Class tampon provides asynchronous communication between two threads. 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

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.