This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Confusion about possibly unsafe malloc_r?
- From: Freddie Chopin <freddie_chopin at op dot pl>
- To: Dave Nadler <drn at nadler dot com>
- Cc: newlib <newlib at sourceware dot org>
- Date: Tue, 27 Jun 2017 20:26:12 +0200
- Subject: Re: Confusion about possibly unsafe malloc_r?
- Authentication-results: sourceware.org; auth=none
- References: <d2e739ee-6119-1ef2-dc38-fb6a455354d3@nadler.com> <1498371337.1704.1.camel@op.pl> <a720c7bc-1795-ee25-d757-359e7d9942ec@nadler.com>
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