From patchwork Tue Jul 24 19:24:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 28593 Received: (qmail 115070 invoked by alias); 24 Jul 2018 19:24:54 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 115056 invoked by uid 89); 24 Jul 2018 19:24:53 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qt0-f196.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=to:references:from:openpgp:autocrypt:subject:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GH+v8piSX9//2zxMH3Bv5a+NiH53ni/AKvG4To5VqzA=; b=fK9OV8OHMern50If3aRxxDC6GblUA//nn02qrVnIHTGXNXO+1arBvcfODpMbHsdIFv 2dNLPN38smqGzZxkaLQ0BL9Yjq/62JY2cGHmv2X07lytPLaMNZDgcEaHsCikmNdpJegS vEVpnxNrWSeMq0l+/B1qB53wkLDPauyp3Sqk8= Return-Path: To: Carlos O'Donell , GNU C Library , Florian Weimer , "Joseph S. Myers" , ricaljasan References: <22aff4d2-6d32-7526-58b0-15712da394ac@redhat.com> <03a09bf8-f65a-315b-ebd6-c9858a91b373@linaro.org> <86d3741f-39ab-ef2e-591e-37ac38dd26e4@redhat.com> From: Adhemerval Zanella Openpgp: preference=signencrypt Subject: Re: glibc 2.28 - Please commit ISO C threads support. Message-ID: <7edab5b6-4e91-ed18-91b5-31218918622b@linaro.org> Date: Tue, 24 Jul 2018 16:24:44 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <86d3741f-39ab-ef2e-591e-37ac38dd26e4@redhat.com> On 24/07/2018 16:06, Carlos O'Donell wrote: > On 07/24/2018 02:58 PM, Adhemerval Zanella wrote: >> >> >> On 24/07/2018 15:52, Carlos O'Donell wrote: >>> On 07/24/2018 01:25 PM, Adhemerval Zanella wrote: >>>> >>>> >>>> On 24/07/2018 13:06, Carlos O'Donell wrote: >>>>> Adhemerval, >>>>> >>>>> We are ready. >>>>> >>>>> Please commit ISO C threads support for 2.28. >>>>> >>>>> Cheers, >>>>> Carlos. >>>>> >>>> >>>> Thanks, I am just doing a final round of build and testing before >>>> pushing it upstream. >>> >>> Thank you! >>> >> >> Patches pushed upstream. >> > > Do we have a NEWS entry for this yet? > > c. Not yet, what about: diff --git a/NEWS b/NEWS index ed61fc5..b3bb0fc 100644 --- a/NEWS +++ b/NEWS @@ -94,6 +94,24 @@ Major new features: for safety are now load errors e.g. /foo/${ORIGIN}.so in DT_NEEDED results in a load failure now. +* ISO C threads (ISO/IEC 9899:2011) has been added. The implementation + support all the standard functions provided by : + + - thrd_current, thrd_equal, thrd_sleep, thrd_yield, thrd_create, + thrd_detach, thrd_exit, and thrd_join for thread managemen. + + - mtx_init, mtx_lock, mtx_timedlock, mtx_trylock, mtx_unlock, and + mtx_destroy for mutual exclusion. + + - call_once for function call synchronization + + - cnd_broadcast, cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and + cnd_wait for conditional variables. + + - tss_create, tss_delete, tss_get, and tss_set for thread-local storage. + + It is requires new application to link against libpthread. + Deprecated and removed features, and other changes affecting compatibility: * The nonstandard header files and <_G_config.h> are no longer