From owner-freebsd-ports@FreeBSD.ORG Wed Apr 23 12:26:34 2014 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BFDE8C8E; Wed, 23 Apr 2014 12:26:34 +0000 (UTC) Received: from frv154.fwdcdn.com (frv154.fwdcdn.com [212.42.77.154]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 244E51FFD; Wed, 23 Apr 2014 12:26:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=LdQYNRGhSeuzXsgbhI2xkhcHIfBEZiSpZZXrV79IhKc=; b=HD8IofJNdqOEmQrKUqbgJAcGCiso+4DwqYN9eyUoi94VOZMoEkvlAsa7H8PBtSRSqWHZXBnWhT2MM0T7CkZaKdWKvIS5zx0mOYovs/xSmMcnvabmA+6FHCuH+F8S/lARPnII8UoSUd58YRPKUo+pCL4Y6NPtXGjytIPtnXXRG9E=; Received: from [134.249.90.229] (helo=nonamehost.local) by frv154.fwdcdn.com with esmtpsa ID 1WcwFt-0002Ks-WE ; Wed, 23 Apr 2014 15:26:26 +0300 Date: Wed, 23 Apr 2014 15:26:25 +0300 From: Ivan Klymenko To: Baptiste Daroussin 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> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Authentication-Result: IP=134.249.90.229; mail.from=fidaj@ukr.net; dkim=pass; header.d=ukr.net Cc: ports@FreeBSD.org, x11@FreeBSD.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2014 12:26:34 -0000 =D0=92 Wed, 23 Apr 2014 08:58:24 +0200 Baptiste Daroussin =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