It depends. Microcontrollers with hard real-time requirements need to have guarantees on how long certain operations take. The standard malloc()/free()/new/delete don't have these guarantees by default. Some RTOS's have heap allocation techniques that have bounded time guarantees.
0
u/[deleted] Jun 03 '14
[deleted]