Quality RTOS & Embedded Software

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


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 ]    [ Privacy ]    [ Sitemap ]    [ ]


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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner