From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91946 invoked by alias); 18 Feb 2020 13:49:24 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 91529 invoked by uid 89); 18 Feb 2020 13:49:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_05,FOREIGN_BODY,RCVD_IN_DNSWL_NONE,SPF_PASS,T_FILL_THIS_FORM_SHORT autolearn=no version=3.3.1 spammy=EMail, E-Mail, diese, keine X-HELO: dedi548.your-server.de Received: from dedi548.your-server.de (HELO dedi548.your-server.de) (85.10.215.148) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Feb 2020 13:48:57 +0000 Received: from sslproxy05.your-server.de ([78.46.172.2]) by dedi548.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1j43Eu-0000Rr-So; Tue, 18 Feb 2020 14:48:40 +0100 Received: from [82.100.198.138] (helo=mail.embedded-brains.de) by sslproxy05.your-server.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1j43Eu-0002oM-O3; Tue, 18 Feb 2020 14:48:40 +0100 Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 663372A000F; Tue, 18 Feb 2020 14:48:57 +0100 (CET) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 269ez86KwPod; Tue, 18 Feb 2020 14:48:57 +0100 (CET) Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 1BC4B2A1681; Tue, 18 Feb 2020 14:48:57 +0100 (CET) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id lYIQyXoh8uJY; Tue, 18 Feb 2020 14:48:57 +0100 (CET) Received: from huber-nb-linux.suse (unknown [192.168.96.161]) by mail.embedded-brains.de (Postfix) with ESMTPSA id 088D72A000F; Tue, 18 Feb 2020 14:48:57 +0100 (CET) Subject: Re: [PATCH] Add c++2a binary_semaphore To: Thomas Rodgers , gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org References: <1291008602.5930779.1582008369882.JavaMail.zimbra@redhat.com> From: Sebastian Huber Message-ID: <110487c1-e3f7-09c3-f6e7-93ede1239828@embedded-brains.de> Date: Tue, 18 Feb 2020 13:49:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: <1291008602.5930779.1582008369882.JavaMail.zimbra@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg01037.txt.bz2 Hello, On 18/02/2020 07:46, Thomas Rodgers wrote: > This patch adds the c++2a semaphore header and binary_semaphore type. The= implementation is not complete, this patch is just to solicit initial feed= back. how do you plan to implement the binary semaphores? For example, do you=20 want to add the binary semaphores to gthr.h or via a mutex and a=20 condition variable or via some futex stuff? I ask because I would like=20 to support this in RTEMS. --=20 Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine gesch=C3=A4ftliche Mitteilung im Sinne des EHUG.