IOS Threading Programming Guide Official Document translation first (preface)

Source: Internet
Author: User
Tags posix

Preface

?

Thread is one of several techniques that enables multiple code paths to run concurrently within the same app. While the new technology provides advanced, efficient tools for concurrent runs, such as Operation objects and GCD, OS X and iOS also provide an interface for creating and managing threads.

If we are developing a new app, we should first investigate concurrency in OS X (especially if you are unfamiliar with implementing multithreaded app technology). These new technologies, compared to traditional threads, can reduce the amount of concurrency and deliver more efficient performance. See Concurrency Programming Guide for more concurrency techniques. (subsequent translations will be available).

?

The document structure

?

This document has the following chapters and appendices: (subsequent translations)

    • About threaded programming introduces the concepts of threading and their role in app design.
    • Thread Management provides information about threading technology and how to use them.
    • Run Loops provides information on how to manage the event loops in the minor (which can be understood as the main thread).
    • Synchronization points to synchronization-related issues, as well as shows tools for programming to avoid damaging data or flashbacks when it comes to multithreading.
    • Thread Safety Summary provides a summary of the high-level overview of thread safety in OSX and iOS and their critical frameworks.

?

Related

?

For more on threading options, see Concurrency Programming Guide. (subsequent translations will be available).

This document simply introduces the POSIX threads API and more about the available POSIX thread descriptions see Pthread home page. The deeper POSIX Threads and their use are described in programming with the POSIX Threads by David R. Butenhof.

IOS Threading Programming Guide Official Document translation first (preface)

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.