<html><body><p><tt>Hi Joe,</tt><br><br><tt> TL;DR: right now the Swift 3.0 overlay for libdispatch is not available on Linux. </tt><br><br><tt> But, a variety of activities are kicking off to get it there. There should be visible progress (and opportunities to help if you are so inclined) over the next few weeks.</tt><br><br><tt>> <br>> While working to convert some NSThread code over to GCD on Linux I <br>> noticed that (to my dismay) GCD wasn't included in the Swift 3.0 <br>> preview build, nor is it apart of the buildbot for Linux. Scouring <br>> through the repository and mailing lists I can see where it is <br>> possible to build, but there are no downstream instructions on how <br>> to make a line like this:</tt><br><tt>> <br>> let queue = DispatchQueue(label: "com.app.queue") </tt><br><tt>> <br>> work with the swiftc compiler on Linux.</tt><br><tt>> <br>> A couple of questions:</tt><br><tt>> <br>> * are there any timelines that the principals of GCD with Swift 3 on<br>> Linux can share; i.e., is the plan to have it included in time for <br>> the Swift 3 GA release later this year?</tt><br><br><tt>I certainly hope so; but cannot speak for official plans.</tt><br><br><tt>> * are there any follow-up instructions past getting it built on how <br>> to use it (or will make install DESTDIR place it in the right spots <br>> in the Swift 3 toolchain hierarchy?)</tt><br><tt>> </tt><br><br><tt>I expect when things are done, it will be similar to how building the current Swift-2 dispatch overlay works on Linux. To build from source you use swift/utils/build-script with --libdispatch and it takes care of all the details (ie, it just works...). </tt><br><tt><br>--dave</tt><br><BR>
</body></html>