From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8992 invoked by alias); 27 Jun 2017 18:26:23 -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 8902 invoked by uid 89); 27 Jun 2017 18:26:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*F:D*pl X-HELO: smtpo68.poczta.onet.pl Received: from smtpo68.poczta.onet.pl (HELO smtpo68.poczta.onet.pl) (141.105.16.18) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Jun 2017 18:26:20 +0000 Received: from [192.168.2.253] (77-253-36-69.adsl.inetia.pl [77.253.36.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: freddie_chopin@op.pl) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 3wxvWV07bLz12cD2n; Tue, 27 Jun 2017 20:26:13 +0200 (CEST) Message-ID: <1498587972.1694.1.camel@op.pl> Subject: Re: Confusion about possibly unsafe malloc_r? From: Freddie Chopin To: Dave Nadler Cc: newlib Date: Tue, 27 Jun 2017 18:26:00 -0000 In-Reply-To: References: <1498371337.1704.1.camel@op.pl> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017/txt/msg00488.txt.bz2 On Sun, 2017-06-25 at 10:22 -0400, Dave Nadler wrote: > Could you point me at documentation (or sources) explaining how > to implement "retargetable locks"? "Retargetable locks" are a new feature, introduced at the beginning of this year. You can see an example implementation in my C++ RTOS here: https://github.com/DISTORTEC/distortos/blob/master/source/newlib/locking.cpp Regards, FCh