GCD (was Re: svn commit: r260311 - in head/contrib: gcc gcc/cp gcc/doc gcclibs/include gcclibs/libiberty)

Pedro Giffuni pfg at FreeBSD.org
Mon Jan 6 16:45:20 UTC 2014


(Time to move this thread to a list)

On 06.01.2014 09:48, Jordan Hubbard wrote:
>
> On Jan 5, 2014, at 5:18 PM, Pedro Giffuni <pfg at FreeBSD.org 
> <mailto:pfg at FreeBSD.org>> wrote:
>
>> *Anyone working on a GCD-enabled version of grep or sort? :).
>
> Look at stdlib/FreeBSD/psort.c in OS X’s Libc 
> (http://www.opensource.apple.com/release/os-x-109/Libc-997.1.1) - 
> that’s the basis for the GCD-aware sort.
>

Ah , yes:

http://opensource.apple.com/source/Libc/Libc-997.1.1/stdlib/FreeBSD/

I see some

#include <dispatch/dispatch.h>

and the code is BSD licensed.

> I don’t know if we got around to doing grep or not - I’d have to look. :)
>

Here is a nice video about GCD:

http://youtu.be/nhbA9jZyYO4

There are many nice things to do (parallel patch/diff too), and we are 
one of the two OSs that support it.


Pedro.


More information about the freebsd-hackers mailing list