Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Concurrency From the Ground Up

Greg Heo
August 27, 2018

Concurrency From the Ground Up

What are the fundamental building blocks of concurrency underneath the APIs we use every day?

Presented at 360iDev 2018.

Greg Heo

August 27, 2018
Tweet

More Decks by Greg Heo

Other Decks in Technology

Transcript

  1. @gregheo 360iDev 2018 1. Programs that seem faster to the

    user 2. Programs that are easy to understand for the programmer WHY? WHY?
  2. @gregheo 360iDev 2018 “
 
 Parallelism is about doing lots

    of things at once.” Concurrency is about dealing with lots of things at once.
  3. @gregheo 360iDev 2018 1. Programs that seem faster to the

    user 2. Programs that are easy to understand for the programmer
  4. @gregheo 360iDev 2018 pthread GCD
 queue Groups pthread
 mutex unfair

    lock NSLock GCD
 semaphore pthread
 semaphore NSThread }