cwidget  0.5.17
Classes | Functions
cwidget::threads Namespace Reference

C++ wrappers for the POSIX threading primitives. More...

Classes

struct  bool_ref_pred
 Internal helper struct. More...
 
class  bootstrap_proxy
 
class  box
 A higher-level abstraction borrowed from Concurrent Haskell, which borrowed it from another language I forget. More...
 
class  box< void >
 A box specialized for 'void'; may make it easier to write other templated classes. More...
 
class  condition
 A abstraction over conditions. More...
 
class  ConditionNotLockedException
 Thrown when the mutex being used to wait on a condition is not locked. More...
 
class  DoubleLockException
 Thrown when an error-checking mutex is locked twice. More...
 
class  event_queue
 A simple unbounded communications channel suitable for use as, eg, an event queue. More...
 
class  mutex
 
struct  noncopy_bootstrap
 Wrap noncopyable objects to bootstrap threads. More...
 
struct  not_bool_ref_pred
 Internal helper struct. More...
 
class  ptr_box
 
class  recursive_mutex
 A mutex that is initialized to be recursive. More...
 
class  thread
 A system thread. More...
 
class  ThreadCreateException
 Thrown when thread creation fails; according to pthread_create(3), this only occurs if there aren't enough system resources to create a thread. More...
 
class  ThreadException
 The base class for all thread-related exceptions. More...
 
class  ThreadJoinException
 Thrown when thread::join fails. More...
 

Functions

template<typename F >
bootstrap_proxy< F > make_bootstrap_proxy (F *f)
 

Detailed Description

C++ wrappers for the POSIX threading primitives.

These provide Resource-Allocation-Is-Initialization semantics and are loosely modelled on the Boost threads library.