Thread

Thread

Intro

Individual tasks runs on Thread with a priority assigned by the Operating system runtime operation.

Syntax

Check whether the current thread is on main or background global instance.

print ("The current thread: \(Thread.current)")

Dispatch Group

dispatch_global

Concurrency in iOS

Dispatch Queue

Concurrent or Singular Synchronous
dispatch_queue

Main thread
dispatch_main

Dispatch Work Item

Race Condition

SO | What is Race Condition

avanderlee | thread sanitizer data races

Critical Section

Semaphores

RxSwift threads

Learn

More about race conditions and avoiding critical reads / writes sections in the memory at once.
Multithreading - checks for whether certain things needed to be checked for thread safety overall.
The interview basically asked me all the multithreaded questions which I didn't know an answer for.

Good sources

Free code camp Concurrency

async-await

advancedswift | /async-await/

guide-to-operation-and-operationqueue

using-dispatch-async-to-load-images-in-background

Apple Dev | Scheduler

Apple Dev | Runloop