From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32077 invoked by alias); 19 Jun 2017 22:55:52 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 32065 invoked by uid 89); 19 Jun 2017 22:55:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=__fp_lock_all, UD:findfp.c, __fp_unlock_all, findfpc X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 Jun 2017 22:55:49 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 87BD0C04B926 for ; Mon, 19 Jun 2017 22:55:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 87BD0C04B926 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=cygwin.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=none smtp.mailfrom=yselkowitz@cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 87BD0C04B926 Received: from [10.10.122.220] (ovpn-122-220.rdu2.redhat.com [10.10.122.220]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 411CA82772 for ; Mon, 19 Jun 2017 22:55:53 +0000 (UTC) Subject: Re: What's the purpose of __fp_lock_all() / __fp_unlock_all() ? To: newlib@sourceware.org References: <1497910479.1511.10.camel@op.pl> From: Yaakov Selkowitz Message-ID: <20a1a9a5-fddd-37b1-9f90-feb4ff75d64b@cygwin.com> Date: Mon, 19 Jun 2017 22:55:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <1497910479.1511.10.camel@op.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017/txt/msg00440.txt.bz2 On 2017-06-19 17:14, Freddie Chopin wrote: > What's the purpose of __fp_lock_all() and __fp_unlock_all() from > newlib/libc/stdio/findfp.c? These functions don't seem to be used > anywhere and they have no public prototypes. Could they be just deleted > from the repository? They are used internally by Cygwin (winsup/cygwin/thread.cc). -- Yaakov