RTEMS malloc implementation question

Joel Sherrill joel.sherrill at OARcorp.com
Tue Feb 12 12:24:25 UTC 2002

Till Straumann wrote:
> Hi there.
> Does anybody know why RTEMS uses its own implementation
> of malloc()/free() and not the one built into newlibc?

History.. newlib's was not thread-safe when RTEMS first
started using newlib.  It has only been in the past couple
of releases that newlib provided proper locking of the

I have sent you email privately before seeing this explaining
how to switch.  And that it wouldn't be viewed as a bad
thing -- just something that couldn't be done in the
newlib 1.6 days.  :)

> -- Till

Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

More information about the users mailing list