From owner-freebsd-current@FreeBSD.ORG Wed Oct 30 02:38:44 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D0370D13; Wed, 30 Oct 2013 02:38:44 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A0E0D2BBA; Wed, 30 Oct 2013 02:38:44 +0000 (UTC) Received: by mail-pa0-f50.google.com with SMTP id fb1so251475pad.37 for ; Tue, 29 Oct 2013 19:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TqjdZqeikE9QeBndb+TXTnXTEzTCGSVOPbFrdxuQ7l4=; b=DOx1cWnsCqI1mrn67/D6D18b9/gj+KHK6sv1NcoegBh8n2EwxClq1Dd64d+XMCYYVk RKmGMDaxskJN9OCmFyNgKQeFQ6hU7lJNTC/tCGdRgq+rnta8tPTkiTlSa4mGOTVvUZnc bkeqcRea4c8epLKru2s0v2boRie58BFX+V8+skCcSoKaFz4YVGR8jd8aHlYdlhfI0dJ6 IQswBjNOK+JbJglT89M5BBZOktWnj7e/PYN8XNYOJFezMAoLf+IE2lGEeEkbtbvd8KCS YQHe5PSHo72G6JTsneY4S36WLUWmioGWrZ8+5uqqIcArxszAs8MAh6xbdSLNFTmng0TD D7wQ== MIME-Version: 1.0 X-Received: by 10.68.216.132 with SMTP id oq4mr2796051pbc.50.1383100724159; Tue, 29 Oct 2013 19:38:44 -0700 (PDT) Received: by 10.70.92.79 with HTTP; Tue, 29 Oct 2013 19:38:44 -0700 (PDT) In-Reply-To: References: Date: Tue, 29 Oct 2013 21:38:44 -0500 Message-ID: Subject: Re: [RFC] libdispatch (aka Grand Central Dispatch) in base From: Adam Vande More To: Devin Teske Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Current , "Teske, Devin" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Oct 2013 02:38:45 -0000 On Tue, Oct 29, 2013 at 9:04 PM, Teske, Devin wrote: > Hi all, > > I'd like to bring up the discussion for topic.. > > Importing libdispatch (aka Apple's Grand Central Dispatch) into base > (contrib?). > > Specifically into HEAD then MFC'd only as far back as stable/10. > > Here's the reason why: > http://devinteske.com/freebsd-installer-enhancements > > Summary: > For the purpose of providing a concurrency model better than pthreads for > the > expressed desire to bring about concurrent data processing (applicable > directly > to distributions, packages, signing and more). > > Multiple people have confirmed with me with respect to the above blog > article > that the concurrency model would be most efficient with libdispatch. > > Since the tool mentioned in the blog is > a. Compiling with clang > b. Requires newest dialog(3) that is only in stable/10 or higher > > I'd say that it looks like a match made in heaven. > > But of course, there's that one hang-up... dispatch is not available in > base yet. > > Is anyone working on getting dispatch into base? FWIW, I say +1 to your proposition and +1 to your contribs. However I say prove it works. , -- Adam