Multithreaded GCD full version

Source: Internet
Author: User
Tags gcd

Dispatch_: How threads Perform tasks in the queue. (synchronous, asynchronous, delay, once, multiple),,

Queue: A collection of some serial or parallel tasks,

System queue: Primary queue, (running in the main thread, serial)

Global queue, (4, parallel)

1.1, GCD four priority of global queue
1.2, several types of gcd used in this article
1.3, Dispatch_async/dispatch_async_f
1.4, Dispatch_sync/dispatch_sync_f

http://blog.csdn.net/Hello_Hwc/article/details/41073287

2.1, Dispatch_after
2.2, Dispatch_apply
2.3, Dispatch_once

http://blog.csdn.net/hello_hwc/article/details/41204027

3.Dispatch_group

http://blog.csdn.net/hello_hwc/article/details/41409135

4.dispatch_semaphore (semaphore)

http://blog.csdn.net/hello_hwc/article/details/42463645

Multithreaded GCD full version

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.