Classes |
class | operation |
| An operation is a functor used to define single portions of work to be dispatched to a single queue. More...
|
class | iteration_operation |
class | ptr_operation |
| Provides a template functor to wrap a function pointer to a memberfunction of an object as operation. More...
|
class | ptr_iteration_operation |
| Provides a template functor to wrap a function pointer to a memberfunction of an object as iteration_operation. More...
|
class | block_operation |
| A simple operation for wrapping the given block as an xdispatch::operation. More...
|
class | object |
| The base class of all xdispatch classes. More...
|
class | group |
| A group is a group of operations dispatched on queues. More...
|
class | queue |
| Provides an interface for representing a dispatch queue and methods that can be called to modify or use the queue. More...
|
class | semaphore |
| Wraps dispatch semaphores as provided by libDispatch. More...
|
struct | any |
| Used for transferring data from a sourcetype to source::data without loosing typesafety. More...
|
class | sourcetype |
| Declares an abstract source type. More...
|
class | source |
| Provides a source implementation. More...
|
class | synclock |
| Provides an easy locking mechanism used to ensure the threadsafety of a code area. More...
|
class | timer |
| Provides a timer executing a block or an operation on a specific queue when a timeout occurs. More...
|
Enumerations |
enum | queue_priority { HIGH = 2,
DEFAULT = 1,
LOW = 0
} |
| Three priority classes used for the three standard global queues. More...
|
Functions |
bool | operator== (const dispatch_object_t &, const object &) |
bool | operator!= (const dispatch_object_t &, const object &) |
queue | main_queue () |
| Returns the main queue.
|
queue | global_queue (queue_priority p=DEFAULT) |
| Returns the global queue associated to the given Priority p.
|
queue | current_queue () |
dispatch_time_t | as_dispatch_time (struct tm *) |
struct tm | as_struct_tm (dispatch_time_t t) |
dispatch_time_t | as_delayed_time (uint64_t delay, dispatch_time_t base=DISPATCH_TIME_NOW) |
void | exec () |
| Enters the dispatching loop for the main thread.
|
std::ostream & | operator<< (std::ostream &, const group *) |
std::ostream & | operator<< (std::ostream &, const group &) |
std::ostream & | operator<< (std::ostream &, const queue *) |
std::ostream & | operator<< (std::ostream &, const queue &) |
std::ostream & | operator<< (std::ostream &, const semaphore *) |
std::ostream & | operator<< (std::ostream &, const semaphore &) |
bool | operator== (const dispatch_semaphore_t &, const semaphore &) |
bool | operator!= (const dispatch_semaphore_t &, const semaphore &) |
synclock | get_lock_for_key (unsigned int key) |
| Returns the synclock used to protect the area identified by the given key.
|