From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-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-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= 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 13:22:00 -0000 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 X-SW-Source: 2018-07/txt/msg00377.txt.bz2 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