XDispatch 0.7.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Namespaces | Typedefs | Functions
group.h File Reference
#include "base.h"
#include <iostream>

Go to the source code of this file.

Classes

class  xdispatch::group
 A group is a group of operations dispatched on queues. More...

Namespaces

namespace  xdispatch

Typedefs

typedef struct dispatch_group_s * dispatch_group_t
 A group of blocks submitted to queues for asynchronous invocation.

Functions

dispatch_group_t dispatch_group_create (void)
 Creates new group with which blocks may be associated.
void dispatch_group_async (dispatch_group_t group, dispatch_queue_t queue, dispatch_block_t block)
 Submits a block to a dispatch queue and associates the block with the given dispatch group.
void dispatch_group_async_f (dispatch_group_t group, dispatch_queue_t queue, void *context, dispatch_function_t work)
 Submits a function to a dispatch queue and associates the block with the given dispatch group.
long dispatch_group_wait (dispatch_group_t group, dispatch_time_t timeout)
 Wait synchronously for the previously submitted blocks to complete; returns if the blocks have not completed within the specified timeout.
void dispatch_group_notify (dispatch_group_t group, dispatch_queue_t queue, dispatch_block_t block)
 Schedule a block to be submitted to a queue when a group of previously submitted blocks have completed.
void dispatch_group_notify_f (dispatch_group_t group, dispatch_queue_t queue, void *context, dispatch_function_t work)
 Schedule a function to be submitted to a queue when a group of previously submitted functions have completed.
void dispatch_group_enter (dispatch_group_t group)
 Manually indicate a block has entered the group.
void dispatch_group_leave (dispatch_group_t group)
 Manually indicate a block in the group has completed.
std::ostream & xdispatch::operator<< (std::ostream &, const group *)
std::ostream & xdispatch::operator<< (std::ostream &, const group &)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Sun Oct 28 2012 22:12:47 for XDispatch by Doxygen 1.7.6.1
© 2010-2012 MLBA (about | privacy) All Rights reserved.