Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

heap3

Posted by bachadamin on April 3, 2017

Hi I wanna ask about heap3? I didn't know how it's thread safe when i used it it's the only heap that made my used RAM lower why and how?


heap3

Posted by hs2sf on April 3, 2017

This might help: http://www.freertos.org/a00111.html


heap3

Posted by rtel on April 3, 2017

wanna

Please use correct spellings in consideration of readers for whom English is a second language.

I didn't know how it's thread safe when i used it it's the only heap that made my used RAM lower why and how?

If you are using heap3 then malloc() is provided by your compiler, so we can't answer this and you will need to refer to the compiler documentation or vendor support. However, heap3 uses crude scheduler locks to ensure calls to malloc() and free cannot be interrupted by other tasks.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS