gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GCD Support in CoreBase / CFRunLoop


From: David Chisnall
Subject: Re: GCD Support in CoreBase / CFRunLoop
Date: Sat, 7 Feb 2015 16:42:54 +0000

What are the extensions?  We currently have pluggable implementations of 
NSRunLoop for Windows / *NIX, it would be nice to have an implementation that 
used libdispatch where available, so that we'd build the run loop on top of 
libdispatch (as Apple does), rather than trying to build it along side and then 
integrate it.

David

> On 6 Feb 2015, at 18:10, Stefan Bidigaray <address@hidden> wrote:
> 
> Some of you might have glanced at the discussion concerning the support of 
> GCD in CoreBase.  I'd like to get some input on what to do going forward, so 
> please chime in if you can.
> 
> Essentially, the problem is that in order to integrate GCD with CFRunLoop, we 
> need to use non-public APIs.  However, these non-public APIs are not 
> supported by the official GCD implementation, only by a Linux only extension 
> to GCD (http://nickhutchinson.me/libdispatch/).  The obvious problem here is 
> that this solution only works on Linux, but another problem is that it is not 
> supported (read, not packaged) by the most popular Linux distributions, 
> including Debian and Ubuntu.
> 
> My gut feeling here is that we should not support this unofficial version of 
> libdispatch and, instead, drop support for the GCD integration until a more 
> cross-platform solution can be implemented, which may be never.  I'd like to 
> get some input here, as another solution may simply be to disable GCD support 
> by default, unless the required functions are found.  I'm leaning somewhat 
> against the latter for the simple reason that I would like CoreBase to truly 
> be cross-platform, not just support a hodge-podge of features that may or may 
> not be available for a particular platform.  Or in this case, a feature that 
> is only available on 1 of the 3 officially supported platforms (Linux, BSD 
> and Windows).
> 
> Again, I would really appreciate some input and your thoughts.  Thanks
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev



--
This email complies with ISO 3103




reply via email to

[Prev in Thread] Current Thread [Next in Thread]