Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2014 15:26:25 +0300
From:      Ivan Klymenko <fidaj@ukr.net>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        ports@FreeBSD.org, x11@FreeBSD.org
Subject:   Re: [CFT] x11-servers/xorg-server with initial (GCD) Grand Central Dispatch support
Message-ID:  <20140423152625.5bb692b9@nonamehost.local>
In-Reply-To: <20140423065824.GE63561@ivaldir.etoilebsd.net>
References:  <20140420200534.72226779@nonamehost.local> <20140423065824.GE63561@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
=D0=92 Wed, 23 Apr 2014 08:58:24 +0200
Baptiste Daroussin <bapt@FreeBSD.org> =D0=BF=D0=B8=D1=88=D0=B5=D1=82:

>=20
> Thank you for those patches, imho that is something we really do
> need.
> I would just have a couple of side notes:
> Wouldn't it be possible to use callbacks in the dispatch call rather
> than blocks?

If I understand you correctly...
Unfortunately not for all areas of the code it is possible ...
I, in fact, only parallelize loops for "for" operator.
The remaining sections of code where this is possible, I have not
looked.=20
If translate to the use of GCD more significantly - then need to
rewrite a lot of code.

> that will make the patch work on FreeBSD 8, 9, 10 and
> head with clang AND gcc, which will greatly improves the chances to
> see those patch well tested and used enough to finally be
> incorporated in the ports.
>=20

I started doing what I know how and what I can :)
If there is help, examples and comments from others - I'm just glad :)

> regards,
> Bapt




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140423152625.5bb692b9>