Dispatch Queues

  • Private Concurrent vs. Global Dispatch with say qos = .userInitiated
    I suppose with global . . . it will match concurrent activities with the hardware . . . ? Isn’t it “better” to leave things to whatever entity that takes care of it? As opposed to using a private concurrent queue? What’s the use case?

  • Please see attached playground - when would using a DispatchWorkItem make a difference / preferred?DispatchQ.playground.zip (1.5 KB)

@lganti Please check out the episodes about dispatch queues and dispatch work items when you get a chance:



I hope they help!

1 Like

This topic was automatically closed after 166 days. New replies are no longer allowed.