The new spelling is:
queue.async(flags: .barrier) { ... }
- Daniel
> On Jun 28, 2016, at 12:24 PM, Eric Miller via swift-users
> <[email protected]> wrote:
>
> I tried searching github's swift-evolution for "dispatch_barrier_async", but
> don't see a mention of it.
>
> Can I migrate this directly to swift 3, or do I need a larger refactor
> involving serial queues?
>
> ```swift
>
> let myConcurrentQueue = DispatchQueue(label: "concurrentQ", attributes:
> .concurrent)
> dispatch_barrier_async(myConcurrentQueue) { ... }
>
> ```
> _______________________________________________
> 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