IntorductionAbout Threaded ProgrammingThread ManagementRun Loops
SynchronizationThread Safety SummaryGlossary

본 페이지는 Threading Programming Guide 문서의 Intorduction 부분을 번역해 놓은 페이지 입니다. 발 번역이라 이상한 부분이 있을 수 있습니다. 발견즉시 댓글을 달아 주세요.


Introduction
소개

Threads are one of several technologies that make it possible to execute multiple code paths concurrently inside a single application. Although newer technologies such as operation objects and Grand Central Dispatch (GCD) provide a more modern and efficient infrastructure for implementing concurrency, OS X and iOS also provide interfaces for creating and managing threads.

스레드는 하나의 응용 프로그램 내에서 동시에 여러 개의 코드 경로를 실행하는 것이 가능하게 몇 가지 기술 중 하나입니다. 이러한 작업 개체 및 그랜드 센트럴 디스패치 (GCD)와 같은 새로운 기술은 동시성을 구현하기위한보다 현대적이고 효율적인 인프라를 제공하지만, OS X 및 IOS는 스레드를 만들고 관리하기위한 인터페이스를 제공합니다.

This document provides an introduction to the thread packages available in OS X and shows you how to use them. This document also describes the relevant technologies provided to support threading and the synchronization of multithreaded code inside your application.

이 문서는 OS X에서 사용할 수있는 스레드 패키지에 대한 소개를 제공하고, 당신이 그들을 사용하는 방법을 보여줍니다. 이 문서는 스레딩 및 응용 프로그램 내에서 멀티 스레드 코드의 동기화를 지원하기 위해 제공 관련 기술을 설명합니다.

Organization of This Document
이 문서의 구성

This document has the following chapters and appendixes:
이 문서는 다음 장과 부록이있다 :

  • “About Threaded Programming” introduces the concept of threads and their role in application design.
    의 "스레드 프로그래밍"스레드 응용 프로그램 디자인에서의 역할의 개념을 소개합니다.

  • “Thread Management” provides information about the threading technologies in OS X and how you use them.
    "스레드 관리"스레딩 OS X의 기술과 방법을 당신이 그들을 사용에 대한 정보를 제공합니다.

  • “Run Loops” provides information about how to manage event-processing loops in secondary threads.
    "루프 실행"보조 스레드에서 이벤트 처리 루프를 관리하는 방법에 대한 정보를 제공합니다.

  • “Synchronization” describes synchronization issues and the tools you use to prevent multiple threads from corrupting data or crashing your program.
    "동기화"동기화 문제와 데이터를 손상 시키거나 프로그램을 충돌에서 여러 스레드를 방지하기 위해 사용하는 도구에 대해 설명합니다.

  • “Thread Safety Summary” provides a high-level summary of the inherent thread safety of OS X and iOS and some of their key frameworks.
    "스레드 안전 요약"고유의 스레드 OS X 및 IOS의 안전과 자신의 핵심 프레임 워크의 일부 높은 수준의 개요를 제공합니다.

See Also

For information about the alternatives to threads, see Concurrency Programming Guide.
스레드 대안에 대한 자세한 내용은 동시성 프로그래밍 가이드를 참조하십시오.

This document provides only a light coverage of the use of the POSIX threads API. For more information about the available POSIX thread routines, see the pthreadman page. For a more in-depth explanation of POSIX threads and their usage, see Programming with POSIX Threads by David R. Butenhof.

이 문서는 POSIX 스레드 API의 사용 만 빛 범위를 제공합니다. 사용 가능한 POSIX 쓰레드 루틴에 대한 자세한 내용은 pthreadman 페이지를 참조하십시오. POSIX 스레드와 그 사용에 대한보다 깊이있는 설명은 데이비드 R. Butenhof하여 POSIX 쓰레드로 프로그래밍을 참조하십시오.

Posted by 창업자닉군
,