From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) by sourceware.org (Postfix) with ESMTPS id 908B43860C2D for ; Fri, 6 Aug 2021 18:05:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 908B43860C2D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rtems.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f175.google.com with SMTP id h2so845982lji.6 for ; Fri, 06 Aug 2021 11:05:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to; bh=bpawgXt4+fyJZMysPLCWmxFvmZtKSmkvR/hUPtyIMSU=; b=Dam71xfYvQcwqI3fHlWnCIGUPz6EU38TFWzPkD5hjB4R7L5BuJAwq6kgLlabCssQf7 BjkSZSO0codsI0EWLvRoInieGd5ifxHUsla36Iic7yxIbfGX1rdtGpL0JIXC5uUo8LZU 2U3RxoSGtFGt9RnG4bywwmFwxmgRk+H1CvUBSO1HPBueoIwKTteJUhnKwUSUCTvAFSZZ c/l67Nr6VMJpyRhIwG1yLItp9eDdnW3C0GCKFa1gToKS2517y28sxe/xj02+U+gFl8lM KzozGynPL2SAX9BfjV7afuf2zcuD4xhglSXoSkIoKA9hCXdvEsaNCLLnobQJyKYUbi44 OZFQ== X-Gm-Message-State: AOAM5308zG6kndioN76lbuHRVi5uGf03oBeHg84fXcmLJ3ur1CNbz8ZY 8vtfrp6tTXcjJDwfx411ntjReXUGSNJ5YA== X-Google-Smtp-Source: ABdhPJyLbPvAyTn47NFFnFfE9h+BHMABRmmz54YJ7p5STf7HbcTsPcH/TWSTG4hWdYvRuw0bjl72aw== X-Received: by 2002:a2e:9781:: with SMTP id y1mr7611924lji.307.1628273119122; Fri, 06 Aug 2021 11:05:19 -0700 (PDT) Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com. [209.85.208.171]) by smtp.gmail.com with ESMTPSA id br5sm898455lfb.37.2021.08.06.11.05.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Aug 2021 11:05:19 -0700 (PDT) Received: by mail-lj1-f171.google.com with SMTP id x7so1485818ljn.10 for ; Fri, 06 Aug 2021 11:05:19 -0700 (PDT) X-Received: by 2002:a2e:321a:: with SMTP id y26mr7336079ljy.463.1628273118882; Fri, 06 Aug 2021 11:05:18 -0700 (PDT) MIME-Version: 1.0 References: <20210806140705.1262737-1-mfjoyce2004@gmail.com> <20210806140705.1262737-2-mfjoyce2004@gmail.com> In-Reply-To: Reply-To: joel@rtems.org From: Joel Sherrill Date: Fri, 6 Aug 2021 13:05:07 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/1] libc: Added prototypes for new POSIX APIs To: Newlib , Matt Joyce Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3037.9 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, 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 18:05:22 -0000 On Fri, Aug 6, 2021 at 12:48 PM Corinna Vinschen wrote: > > 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. Thanks Corinna. I'll take the bullet for telling him to use that one. --joel > > > Corinna >