> On 25 Sep 2016, at 23:08, Saagar Jha <[email protected]> wrote: > > You might be looking for the DispatchQoS.QoSClass enum. > > Saagar Jha
Probably. But how to make concurrentPerform use any of these enums? Gerriet. > >> On Sep 25, 2016, at 05:19, Gerriet M. Denkmann via swift-users >> <[email protected]> wrote: >> >> In ObjC: >> >> dispatch_queue_t queue = dispatch_get_global_queue( >> DISPATCH_QUEUE_PRIORITY_HIGH, 0 ); >> dispatch_apply( nbrThreads, queue, ^void(size_t idx) … >> >> In Swift 3: >> DispatchQueue.concurrentPerform( iterations: nbrThreads) … >> >> How can one specify the DISPATCH_QUEUE_PRIORITY or QualityOfService to be >> used by concurrentPerform? >> >> Gerriet. >> >> _______________________________________________ >> swift-users mailing list >> [email protected] >> https://lists.swift.org/mailman/listinfo/swift-users > _______________________________________________ swift-users mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-users
