Libthreadar 1.6.0
Classes | Namespaces
thread.hpp File Reference

holds the definition of the thread class More...

#include "config.h"
#include "mutex.hpp"

Go to the source code of this file.

Classes

class  libthreadar::thread
 Class thread is a pure virtual class, that implements thread creation and operations. More...
 
class  libthreadar::thread::cancel_except
 exception used to trigger thread cancellation More...
 

Namespaces

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

Detailed Description

holds the definition of the thread class

this is inspired from http://blog.emptycrate.com/node/270 But with the difference that thread managment is done in its own pure virtual class and arbitrary threaded work is done in inherited classes. Also has been added exception transmission support from sub threaded back to parent thread using the join() method of destructor

Definition in file thread.hpp.