Question d’entretien chez Apple

Parallelize a presented segment of code using PThread primatives, being sure to highlight concerns with resource conflicts, order dependencies, and deadlock conditions.