본문 바로가기

카테고리 없음

Serial Queue Concurrent Queue

728x90
반응형
SMALL

Serial Queue, Concurrent Queue ;ㅅ;.. 아 진짜.. 한없이 작아진다. 영어 못하는 제가 죽일 놈입니다.

https://developer.apple.com/documentation/dispatch/dispatch_queue_serial/

 

DISPATCH_QUEUE_SERIAL | Apple Developer Documentation

A dispatch queue that executes blocks serially in FIFO order.

developer.apple.com

https://developer.apple.com/documentation/dispatch/dispatch_queue_concurrent/

 

DISPATCH_QUEUE_CONCURRENT | Apple Developer Documentation

A dispatch queue that executes blocks concurrently.

developer.apple.com

어쨌든...
A dispatch queue that executes blocks serially in FIFO order.

serial queue 는 선입 선출로 실행함

작업이 끝나야 다음 작업을 다른 쓰레드에 보냄
A dispatch queue that executes blocks concurrently.

concurrent queue 는 동시에 실행함.

작업이 끝나도 않아도 작업을 다른 쓰레드에 보냄.

 

https://developer.apple.com/library/archive/documentation/General/Conceptual/ConcurrencyProgrammingGuide/Introduction/Introduction.html

 

Introduction

Introduction Concurrency is the notion of multiple things happening at the same time. With the proliferation of multicore CPUs and the realization that the number of cores in each processor will only increase, software developers need new ways to take adva

developer.apple.com

 

 

728x90
반응형
LIST