1dispatch(3)              BSD Library Functions Manual              dispatch(3)
2

NAME

4     dispatch — the dispatch framework
5

SYNOPSIS

7     #include <dispatch/dispatch.h>
8

DESCRIPTION

10     The dispatch framework allows blocks to be scheduled for asynchronous and
11     concurrent execution via the core functions described in
12     dispatch_async(3) and dispatch_apply(3).
13
14     Dispatch queues are the basic units of organization of blocks. Several
15     queues are created by default, and applications may create additional
16     queues for their own use. See dispatch_queue_create(3) for more informa‐
17     tion.
18
19     Dispatch groups allow applications to track the progress of blocks sub‐
20     mitted to queues and take action when the blocks complete. See
21     dispatch_group_create(3) for more information.
22
23     The dispatch framework also provides functions to monitor underlying sys‐
24     tem events and automatically submit event handler blocks to dispatch
25     queues.
26

SEE ALSO

28     dispatch_after(3), dispatch_api(3), dispatch_apply(3), dispatch_async(3),
29     dispatch_data_create(3), dispatch_group_create(3), dispatch_io_create(3),
30     dispatch_io_read(3), dispatch_object(3), dispatch_once(3),
31     dispatch_queue_create(3), dispatch_semaphore_create(3),
32     dispatch_source_create(3), dispatch_time(3)
33
34Darwin                            May 1, 2009                           Darwin
Impressum