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
Heads up... You've reached locked video content where the transcript will be shown astext.
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.