From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id 31519385E455 for ; Fri, 6 Aug 2021 17:48:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 31519385E455 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628272107; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=OzEPcyxBuh41JAtG+N2KjyzrrC5voWUK2TqCsHndUIA=; b=Q0j0zD67gAm67C75ki40aeqDd6Tzah0RE0l7+0bvdAgtoisVRigdA2NFu9U1Fj22EXgJT8 ACnYmkXNyQ9b2njB+2wHOAjdjfUUKxOsRgajeMaBS6RGs76l4vBAUX/3y+zKecA6D5MDak Rh/8IaaxlK6M/YM2Vk6GeiKppREYu6E= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-261-X3lRX5zgOc2ue6dRBDvhBg-1; Fri, 06 Aug 2021 13:48:24 -0400 X-MC-Unique: X3lRX5zgOc2ue6dRBDvhBg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 96F8C1853029; Fri, 6 Aug 2021 17:48:23 +0000 (UTC) Received: from calimero.vinschen.de (ovpn-112-10.ams2.redhat.com [10.36.112.10]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6A44369CBB; Fri, 6 Aug 2021 17:48:23 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id 002CBA80DE2; Fri, 6 Aug 2021 19:48:21 +0200 (CEST) Date: Fri, 6 Aug 2021 19:48:21 +0200 From: Corinna Vinschen To: Matt Joyce Cc: newlib@sourceware.org Subject: Re: [PATCH 1/1] libc: Added prototypes for new POSIX APIs Message-ID: Reply-To: newlib@sourceware.org Mail-Followup-To: Matt Joyce , newlib@sourceware.org References: <20210806140705.1262737-1-mfjoyce2004@gmail.com> <20210806140705.1262737-2-mfjoyce2004@gmail.com> MIME-Version: 1.0 In-Reply-To: <20210806140705.1262737-2-mfjoyce2004@gmail.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=vinschen@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Status: No, score=-13.3 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2021 17:48:30 -0000 Hi Matt, On Aug 6 16:07, Matt Joyce wrote: > Added function prototypes to newlib/libc/include/pthread.h > for the following Issue 8 Standard APIs: > pthread_cond_clockwait() > pthread_mutex_clocklock() > pthread_rwlock_clockrdlock() > pthread_rwlock_clockwrlock() > --- > newlib/libc/include/pthread.h | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/newlib/libc/include/pthread.h b/newlib/libc/include/pthread.h > index c9d24d6e0..9b91ea68d 100644 > --- a/newlib/libc/include/pthread.h > +++ b/newlib/libc/include/pthread.h > @@ -87,6 +87,13 @@ int pthread_mutex_timedlock (pthread_mutex_t *__mutex, > > #endif /* _POSIX_TIMEOUTS */ > > +/* Using __MISC_VISIBLE until POSIX Issue 8 is officially released */ > +#if __MISC_VISIBLE I think these symbols should use the __GNU_VISIBLE feature test macro. That would also be compatible with GLibC. Corinna