From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hera.aquilenet.fr (hera.aquilenet.fr [IPv6:2a0c:e300::1]) by sourceware.org (Postfix) with ESMTPS id 3DE9B3851C0A; Mon, 8 Jun 2020 22:23:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3DE9B3851C0A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=samuel.thibault@ens-lyon.org Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id AAE0161D9; Tue, 9 Jun 2020 00:23:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8H7x6o-a64YH; Tue, 9 Jun 2020 00:23:32 +0200 (CEST) Received: from function.home (unknown [IPv6:2a01:cb19:956:1b00:9eb6:d0ff:fe88:c3c7]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 50ECA61D7; Tue, 9 Jun 2020 00:23:32 +0200 (CEST) Received: from samy by function.home with local (Exim 4.93) (envelope-from ) id 1jiQB0-000SGC-Dt; Tue, 09 Jun 2020 00:23:30 +0200 Date: Tue, 9 Jun 2020 00:23:30 +0200 From: Samuel Thibault To: Lukasz Majewski Cc: Joseph Myers , Paul Eggert , Adhemerval Zanella , Alistair Francis , Alistair Francis , GNU C Library , Siddhesh Poyarekar , Florian Weimer , Zack Weinberg , Carlos O'Donell , Andreas Schwab , libc-help@sourceware.org Subject: Re: [Y2038] Replacement of struct timespec with struct __timespec64 in glibc internal code Message-ID: <20200608222330.njwu2wumajvkyq6a@function> References: <20200601140740.16371-1-lukma@denx.de> <20200603145347.4025892b@jawa> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200603145347.4025892b@jawa> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_NEUTRAL, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jun 2020 22:23:36 -0000 Hello, Lukasz Majewski, le mer. 03 juin 2020 14:53:47 +0200, a ecrit: > [*] - from running scripts/build-many-glibcs.py it looks like only > i686-gnu port (HURD) is using code in ./sysdeps/pthread. ? No, nptl also uses e.g. the C11 threads implementation that is there. > Will ./sysdeps/pthread be replaced by nptl in some near time in the > future (and removed)? Ideally nptl and htl (and fbtl of the freebsd port) would be merged. Apparently nptl is not as linux-specific as I could fear, and now that gnumach has a futex-like interface (gsync) possibly it could just be used, but it won't be just a snap, htl implements at least some cancel support that we need in userland filesystem support (pthread_hurd_cond_timedwait_np), and also the pthread cancel, signal, TLS supports need to be plugged. I tend to make htl interface like nptl with the libc, so that should be feasibly long-term. Samuel