Concurrent Programming in Mac OS X and iOS by Vandad Nahavandipoor

Concurrent Programming in Mac OS X and iOS by Vandad Nahavandipoor

Author:Vandad Nahavandipoor [Vandad Nahavandipoor]
Language: eng
Format: epub, pdf
Tags: COMPUTERS / Programming / Apple Programming
ISBN: 9781449310073
Publisher: O'Reilly Media
Published: 2011-05-23T16:00:00+00:00


Different Types of Dispatch Queues

As mentioned in Short Introduction to Grand Central Dispatch, dispatch queues are pools of threads managed by GCD. We will be working with dispatch queues a lot, so please make sure that you fully understand the concept behind them. There are three types of dispatch queues:

Main Queue

This queue performs all its tasks on the main thread, which is where Cocoa and Cocoa Touch require programmers to call all UI-related methods. Use the dispatch_get_main_queue function to retrieve the handle to the main queue.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.