[swift-corelibs-dev] libdispatch build issue

David P Grove groved at us.ibm.com
Fri Dec 11 11:54:50 CST 2015

phausler at apple.com wrote on 12/11/2015 12:02:30 PM:
> This is only tangentially related: but I was attempting to build
> dispatch as well to start work on CFRunLoop and a few other dispatch
> bound features in Foundation on linux. I was seeing similar failures
> as Dzianis Fedarenka. Is there a branch/fork that I can grab to test
> this stuff out w/ bringing stuff up in Foundation?

If you grab the master branch it should build libdispatch.so on ubuntu

I've put a quick cheat sheet in a pull request:

There's a patch from Hubertus to get timers at least partially working that
you may want too:

> My question is that of design and status of where things are at;
> CFRunLoop requires a method to interoperate with the main dispatch
> queue via _dispatch_get_main_queue_port_4CF and
> _dispatch_main_queue_callback_4CF. CFRunLoop will need to transact
> upon the same event source type as dispatch to ensure the main queue
> behaves correctly - so what type of event source should we be using?
> A socket? A producer/consumer notification via pthread conditions?

Sorry, I don't understand the code well enough yet to answer this
one :(   I'm sure Pierre or Daniel can.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20151211/697d795b/attachment.html>

More information about the swift-corelibs-dev mailing list