Creating Thread-Safe Arrays in Swift

Thread-safety in Swift can be achieved using GCD concurrent queues & barrier flag. Reads would occur in parallel, while writes are given mutual exclusion. Read more

Similar

Locks, Thread Safety, and Swift

Back in the dark ages of Swift 1, I wrote an article about locks and thread safety in Swift. The march of time has made it fairly obsolete, and reader Seth Willits suggested I update it for the modern age, so here it is! (more…)

Read more »