1 .\" Copyright (c) 2008-2012 Apple Inc. All rights reserved.
7 .Nd the dispatch framework
9 .Fd #include <dispatch/dispatch.h>
11 The dispatch framework allows blocks to be scheduled for asynchronous and
12 concurrent execution via the core functions described in
13 .Xr dispatch_async 3 and
14 .Xr dispatch_apply 3 .
16 Dispatch queues are the basic units of organization of blocks. Several queues
17 are created by default, and applications may create additional queues for their
19 .Xr dispatch_queue_create 3
22 Dispatch groups allow applications to track the progress of blocks submitted to
23 queues and take action when the blocks complete. See
24 .Xr dispatch_group_create 3
27 The dispatch framework also provides functions to monitor underlying system
28 events and automatically submit event handler blocks to dispatch queues.
30 .Xr dispatch_after 3 ,
32 .Xr dispatch_apply 3 ,
33 .Xr dispatch_async 3 ,
34 .Xr dispatch_data_create 3 ,
35 .Xr dispatch_group_create 3 ,
36 .Xr dispatch_io_create 3 ,
37 .Xr dispatch_io_read 3 ,
38 .Xr dispatch_object 3 ,
40 .Xr dispatch_queue_create 3 ,
41 .Xr dispatch_semaphore_create 3 ,
42 .Xr dispatch_source_create 3 ,