From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,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.2 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 137F41F454 for ; Fri, 8 Nov 2019 18:59: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=Ym2rpRuWlLrA/oZ7 AbOf9a2CU3qnupjYUddJSUc4GKlWJIL3SaPsgHwfWlwCdnYEQm2yHGSJy03XlP0O 0M3o+SdknUXNZK+Bq+/oSo/iCl0oFkuGjyPPlGKcMexrckSwzd8v3ui8O2OZ9ZSr a7WvHbrpvVYR2FaNdXjIJpnwJC0= 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=jpZwzQfzs0C2oTMp/VI6+i 5Hc2U=; b=nvav8xH5upxLaoO9asBa49/a5H376k4F/fc3CWQX2fhlvh1msNZvme ITgfxgiyCqlyKT0nCyU00ZYc6SgaZ0ACFn+Mw9tIVHG0M10hly/Z0J1RKMpmStvx 2cCrzLA8Cz7UvE5hY/lcdfPAAf1rpy33GyMWtRWzrQEiBc/E3Xi8M= Received: (qmail 78745 invoked by alias); 8 Nov 2019 18:59:07 -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 78732 invoked by uid 89); 8 Nov 2019 18:59:06 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-qt1-f194.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=4Agm5MEIG2ypZviuyCZ1iER7l9ZJsTpPfb9LZqv/zQY=; b=dRPPElhKNLTcJy5N8p77fTANmj1OjeuVqSsPZDq/j94oEBfCLVjVbo4WNjq+UC39T1 IMmRru1g9BudPTULqGrS39CA+WiXnWt1kf9Iy8tmQEJDBXcxwaCpEZwNQiyiRxGjoiJj ZEoea9YC2mZAngNuRCsbVnaTwJ4Ue1/h0tHFiu0flibpOb3M73KOc+t9RCHzviKmRj67 8+ckNfL+4ScYwf/ZlYmN/lFfBqCSw0MhJmsS84sx+ICi1tSBxCVosMJv6wNk9npdwIss Ki01vzn9uvYcUE/jwDdEXP4WSc+36/xBIvO7bdgc8sA20cFo2BvzzfBoJaNkH4QWasDt P9pQ== Subject: Re: [PATCH v6 3/3] time: Define time64 nanosleep To: libc-alpha@sourceware.org References: <20191108170302.29838-1-alistair.francis@wdc.com> <20191108170302.29838-3-alistair.francis@wdc.com> From: Adhemerval Zanella Openpgp: preference=signencrypt Message-ID: <1ba2dd52-c3d6-5e9e-5216-3e96ef1e16fa@linaro.org> Date: Fri, 8 Nov 2019 15:59:00 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191108170302.29838-3-alistair.francis@wdc.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 08/11/2019 14:03, Alistair Francis wrote: > Signed-off-by: Alistair Francis > --- > include/time.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/include/time.h b/include/time.h > index cbacf4fc9d7..d53f769c942 100644 > --- a/include/time.h > +++ b/include/time.h > @@ -212,6 +212,7 @@ extern double __difftime (time_t time1, time_t time0); > #if __TIMESIZE == 64 > # define __thrd_sleep_time64 thrd_sleep > # define __clock_nanosleep_time64 __clock_nanosleep > +# define __nanosleep_time64 __nanosleep > #else > extern int __thrd_sleep_time64 (const struct __timespec64* time_point, > struct __timespec64* remaining); > @@ -220,6 +221,9 @@ extern int __clock_nanosleep_time64 (clockid_t clock_id, > int flags, const struct __timespec64 *req, > struct __timespec64 *rem); > libc_hidden_proto (__clock_nanosleep_time64) > +extern int __nanosleep_time64 (const struct __timespec64 *requested_time, > + struct __timespec64 *remaining); > +libc_hidden_proto (__nanosleep_time64) > #endif > > /* Use in the clock_* functions. Size of the field representing the > As for thr_sleep patch, why are you adding the prototype without the implementation for nanosleep ?