When to Semaphore vs Dispatch Group! Careful Multithreaded Shared Resource
Cool Projects
Shared resources are often used across many different tasks in a multithreaded iOS application. If you want to make sure that a share resource is not accessed at the same time, you can guarantee the behavior through a Semaphore. However if your tasks are independent of one another, then using a Dispatch Group is probably the way to go.

Comments (1)
Ashwini Chougale
5 years ago
Brian Voong
5 years ago
Please contact admin@letsbuildthatapp.com if you have any issues.
HELP & SUPPORT