<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">The new spelling is:<div class=""><br class=""></div><div class="">queue.async(flags: .barrier) { ... }</div><div class=""><br class=""></div><div class=""> - Daniel</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 28, 2016, at 12:24 PM, Eric Miller via swift-users <<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" class="">I tried searching github's swift-evolution for "dispatch_barrier_async", but don't see a mention of it.</font><div class=""><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" class=""><br class=""></font></div><div class=""><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" class="">Can I migrate this directly to swift 3, or do I need a larger refactor involving serial queues?</font></div><div class=""><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" class=""><br class=""></font></div><div class=""><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" class="">```swift</font></div><div class=""><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" class=""><br class=""></font></div><div class=""><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" class="">let myConcurrentQueue = </font><span class="">DispatchQueue</span><span class="">(label: </span><span class="">"concurrentQ"</span><span class="">, attributes: </span><span class="">.</span><span class="">concurrent</span><span class="">)</span></div>
<div class=""><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" class=""><span style="font-size:12px;line-height:16.8px;white-space:pre-wrap" class="">dispatch_barrier_async(</span><span style="font-size:12px;line-height:16.8px;white-space:pre-wrap" class="">myConcurrentQueue</span><span style="font-size:12px;line-height:16.8px;white-space:pre-wrap" class="">) { ... }</span></font></div><div class=""><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" class=""><br class=""></font></div><div class=""><font face="arial, helvetica, sans-serif" style="background-color:rgb(255,255,255)" class="">```</font></div></div>
_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-users<br class=""></div></blockquote></div><br class=""></div></body></html>