iOS Concurrency with GCD & Operations

Sep 12 2023 · Swift 5.8, macOS 13, iOS 16, Xcode 14.3

Part 2: Concurrency Problems & Solutions

11. Concurrency Problems

Episode complete

Play next episode

Next
About this episode

Leave a rating/review

See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 10. Use a DispatchSemaphore Next episode: 12. Explore Priority Inversion

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

Concurrent tasks don’t run in the same order, for the same duration, every time, so concurrent programming can create problems that are hard to debug. In this video, you’ll learn what you can do to prevent them. The three potential problems are priority inversion, race conditions and deadlocks. Race conditions are also called data races. GCD and Operations help you avoid the first two, but you have to keep your wits about you to avoid deadlocks. I mention a few tips throughout this course.