From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.6 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 429C71F85E for ; Fri, 13 Jul 2018 13:22:09 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=A+I7SyGQTfANs0d1 enYq4eUq5sN6yXXVYH3mBo1IjfPMzk7eSvLVCQDKQ6Z0iZ4fOkP7truGodDOk3bX 3VPXIUDKxJ8UqT+ERM/EYz8862+Sjfm9ADoH4rcIubGTv2B1ERwQE0xl0AYIxzyX O2uPuunB2MDGVwpxDyP+sbSli8k= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=2VuujlZzX7zhXAa/qKSqyZ JIf94=; b=QlKS3yIemrH3kbTvzdBEteQSECc6qj1u5IYsvyPpabeFTBCTcB9S8C sbIrYz1ufExwFEB11TH4f+Rh9yu0Uyd8ZUA70d61na/y9/2jhS0Ob9VZc6hyAKGI ceH8ly6EF/njqtq4mpq55WePTD9K0Ey8mCohuoFRCsNSWMubhMKZQ= Received: (qmail 47337 invoked by alias); 13 Jul 2018 13:22:02 -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 Received: (qmail 47212 invoked by uid 89); 13 Jul 2018 13:22:01 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mx1.redhat.com Subject: Re: [PATCH v8 1/8] nptl: Add C11 threads thrd_* functions To: Adhemerval Zanella , libc-alpha@sourceware.org References: <1517591084-11347-1-git-send-email-adhemerval.zanella@linaro.org> <1517591084-11347-2-git-send-email-adhemerval.zanella@linaro.org> <6bd3db7f-6fb5-8951-edc1-507fa93cb31a@redhat.com> <0ebcfb95-926d-b7a1-b762-7388f1e2b5d1@redhat.com> <38895177-c89b-40ae-9dbd-53768d3d73be@linaro.org> From: Florian Weimer Message-ID: <612e711c-b8c3-0db4-5eab-27cacf09c787@redhat.com> Date: Fri, 13 Jul 2018 15:21:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <38895177-c89b-40ae-9dbd-53768d3d73be@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 07/13/2018 03:18 PM, Adhemerval Zanella wrote: > Right, I will change thrd_sleep to use a cancellation entrypoint. We > can evaluate the POSIX cancellation interaction with C11 threads in > next releases. Agreed. We've discussed internally a POSIX thread attribute which inhibits cancellation for thread in case it is created by a higher-level run-time which does not support cancellation. I'm not sure if this should apply to C11 threads, but we should consider it as an enhancement for POSIX threads at least. Thanks, Florian