namespace GradSoft


class ThreadingExceptions
'namespace' for Threading Exceptions definitions
class RWLock
Read/Write lock allow multiple readers/single writer.
class ReadLocker
ReadLocker : wrap read locking in constructor/destructor.
class WriteLocker
WriteLocker: wrap write locking in constructor/destructor
template<class T> class RWLocked
Threadsafe adapter for DefaultConstructable Assignable and Comparable objects
template<class T> class RWLockedPtr: public RWLocked<T*>
thread-safe pointer to shared resource
class Mutex
Mutual Exclusive Lock (mutex)
class MutexLocker
MutexLocker : lock mutex on creation, unlock on desctruction.
class Thread
Base class for thread.
template<class container> class threadsafe_biseq: public RWLocked<container>
threadsafe wrapper arround back insertion sequence
template<class container> class threadsafe_uac: public RWLocked<container>
threadsafe wrapper for unique associative container
template<class container> class threadsafe_mac: public RWLocked<container>
Threadsafe adapter for Multiple associative Container
class ThreadEvent
Thread Event class (or in other terminology, ThreadCondition)
class ThreadService
ThreadService: entity which process Runnable (Runnable may be events, network connections, etc) Typical usage pattern: 1.
class ThreadContext
Thread-Specific context
class Runnable
Abstract class for runnable Runnable is item of execution
class AtomicBool
boolean value with atomic getting/setting
[more]inline bool operator==(const AtomicBool& x, const AtomicBool& y)
[more]inline bool operator==(const AtomicBool& x, bool y)
[more]inline bool operator==(bool x, const AtomicBool& y)
[more]inline bool operator!=(const AtomicBool& x, const AtomicBool& y)
[more]inline bool operator!=(const AtomicBool& x, bool y)
[more]inline bool operator!=(bool x, const AtomicBool& y)
template<class T, ptr::SafeProperty property> class counted_mt_ptr: public internal::ptr_base<T, counted_mt_ptr_traits<T, property> >
shared counted pointer (thread-safe);
  • we use this pointer in case, when we need share one pointer between multiple owners and this pointer must be accessible from parallel threads;
  • pointer is released, when last owner (counted_mt_ptr to one) is done;
class SingleThreadBlocking: public ThreadService
SingleThreadBlocking ThreadService.
class SingleThreadChecking: public ThreadService, public Thread
Single thread service wich run in own thread and check aviability of service before processing of runnable
class SingleThreadReactive: public ThreadService, public Thread
Single-Threaded Reactor: i.
class ThreadPerClient: public ThreadService
class ThreadPool: public ThreadService
ThreadPool service
class QueueOfRunnables
Fixed-size queue of Runnable-s, often used in Thread-Services use hairdressen algorithm


Documentation

oinline bool operator==(const AtomicBool& x, const AtomicBool& y)

oinline bool operator==(const AtomicBool& x, bool y)

oinline bool operator==(bool x, const AtomicBool& y)

oinline bool operator!=(const AtomicBool& x, const AtomicBool& y)

oinline bool operator!=(const AtomicBool& x, bool y)

oinline bool operator!=(bool x, const AtomicBool& y)

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.