|
cwidget 0.5.18
|
C++ wrappers for the POSIX threading primitives. More...
Classes | |
| class | event_queue |
| A simple unbounded communications channel suitable for use as, eg, an event queue. More... | |
| class | ThreadException |
| The base class for all thread-related exceptions. 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 | ThreadJoinException |
| Thrown when thread::join fails. 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 | thread |
| A system thread. More... | |
| struct | noncopy_bootstrap |
| Wrap noncopyable objects to bootstrap threads. More... | |
| class | mutex |
| class | recursive_mutex |
| A mutex that is initialized to be recursive. More... | |
| class | condition |
| A abstraction over conditions. More... | |
| 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... | |
| struct | bool_ref_pred |
| Internal helper struct. More... | |
| struct | not_bool_ref_pred |
| Internal helper struct. More... | |
| class | bootstrap_proxy |
Functions | |
| template<typename F> | |
| bootstrap_proxy< F > | make_bootstrap_proxy (F *f) |
C++ wrappers for the POSIX threading primitives.
These provide Resource-Allocation-Is-Initialization semantics and are loosely modelled on the Boost threads library.