> On Apr 20, 2016, at 9:43 AM, Daniel Eggert via swift-corelibs-dev 
> <swift-corelibs-dev@swift.org> wrote:
> 
> I think that would make a giant mess. I'm curious how far off we are for 
> having lob libdispatch on Linux. I think it would be worth waiting a bit 
> longer I n stead of making the code illegible. Just my 2¢.

+1, having another incentive to drive libdispatch to be part of the snapshots 
doesn't seem like a bad thing.

 - Daniel

> 
> /Daniel
> 
> 
> On Apr 20, 2016, at 04:23, Pushkar N Kulkarni <pushkar...@in.ibm.com 
> <mailto:pushkar...@in.ibm.com>> wrote:
> 
>> Hi Tony, Daniel, 
>> 
>> Thanks for your responses. 
>> 
>> Would it be acceptable if, for now, we check for the availability of 
>> Dispatch and conditionally compile calls to it into the current 
>> implementation of NSURLSession* (something like the  _HAS_DISPATCH__ macro 
>> used in CoreFoundation)? This would make NSURLSession and related classes 
>> functional with a custom toolchain that has Dispatch, on Linux. It'd also 
>> make them functional on OS X.
>> 
>> I realise this may need some code restructuring.
>> 
>> Pushkar N Kulkarni,
>> IBM Runtimes
>> 
>> Simplicity is prerequisite for reliability - Edsger W. Dijkstra
>> 
>> 
>> 
>> -----Daniel Eggert <danielegg...@me.com <mailto:danielegg...@me.com>> wrote: 
>> -----
>> To: Tony Parker <anthony.par...@apple.com <mailto:anthony.par...@apple.com>>
>> From: Daniel Eggert <danielegg...@me.com <mailto:danielegg...@me.com>>
>> Date: 04/19/2016 08:21PM
>> Cc: Pushkar N Kulkarni/India/IBM@IBMIN, Swift corelibs dev 
>> <swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>>
>> Subject: Re: [swift-corelibs-dev] NSURLSession & libcurl
>> 
>> I don't think it compiles, but I haven't tried, yet. I've been trying to 
>> keep it up-to-date with master. 
>> 
>> /Daniel
>> 
>> On Apr 18, 2016, at 13:15, Tony Parker <anthony.par...@apple.com 
>> <mailto:anthony.par...@apple.com>> wrote:
>> 
>>> I think that’s a fair approach - but does this even compile on Linux 
>>> without dispatch in place? I get “no such module ‘Dispatch’” errors when 
>>> compiling.
>>> 
>>> - Tony
>>> 
>>>> On Apr 18, 2016, at 11:24 AM, Pushkar N Kulkarni <pushkar...@in.ibm.com 
>>>> <mailto:pushkar...@in.ibm.com>> wrote:
>>>> 
>>>> Thanks for your great work on NSURLSession and friends, Daniel!
>>>> 
>>>> I was wondering if we are only waiting for dispatch to be available on 
>>>> Linux here. In that case, could we have the failing tests (if any) 
>>>> excluded (only on Linux perhaps) and have this merged please? Some of us 
>>>> at IBM would like to work with the current implementation and contribute 
>>>> on top of it.
>>>> 
>>>> Thanks!
>>>> 
>>>> Pushkar N Kulkarni,
>>>> IBM Runtimes
>>>> 
>>>> Simplicity is prerequisite for reliability - Edsger W. Dijkstra
>>>> 
>>>> 
>>>> 
>>>> -----swift-corelibs-dev-boun...@swift.org 
>>>> <mailto:-----swift-corelibs-dev-boun...@swift.org> wrote: -----
>>>> To: Swift corelibs dev <swift-corelibs-dev@swift.org 
>>>> <mailto:swift-corelibs-dev@swift.org>>
>>>> From: Daniel Eggert via swift-corelibs-dev 
>>>> Sent by: swift-corelibs-dev-boun...@swift.org 
>>>> <mailto:swift-corelibs-dev-boun...@swift.org>
>>>> Date: 04/05/2016 12:14AM
>>>> Subject: Re: [swift-corelibs-dev] NSURLSession & libcurl
>>>> 
>>>> I won't be able to put too many more hours into this after next week.
>>>> 
>>>> https://github.com/apple/swift-corelibs-foundation/pull/299 
>>>> <https://github.com/apple/swift-corelibs-foundation/pull/299>
>>>> 
>>>> Feedback is very welcome.
>>>> 
>>>> The tests show what's working, and there are "TODO:" markers throughout 
>>>> the code where applicable.
>>>> 
>>>> /Daniel
>>>> 
>>>> _______________________________________________
>>>> swift-corelibs-dev mailing list
>>>> swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>
>>>> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev 
>>>> <https://lists.swift.org/mailman/listinfo/swift-corelibs-dev>
>>>> 
>>> 
>> 
> _______________________________________________
> swift-corelibs-dev mailing list
> swift-corelibs-dev@swift.org
> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

Reply via email to