Functions
FreeRTOS_new.cpp File Reference

Implementation file for FreeRTOS overloaded new/delete operators. This is needed keep the heap memory allocation task-safe (prevent task switching during allocation and potential memory corruption. More...

#include <new>
#include <cstdlib>
#include <compiler.h>
Include dependency graph for FreeRTOS_new.cpp:

Go to the source code of this file.

Functions

void * calloc (size_t nitems, size_t size)
 
void free (void *ptr)
 
void * malloc (size_t size)
 
void operator delete (void *p)
 
void operator delete[] (void *p)
 
void * operator new (size_t size)
 
void * operator new[] (size_t size)
 
void * pvPortMalloc (size_t xWantedSize)
 
void * realloc (void *ptr, size_t size)
 
void vPortFree (void *pv)
 

Detailed Description

Implementation file for FreeRTOS overloaded new/delete operators. This is needed keep the heap memory allocation task-safe (prevent task switching during allocation and potential memory corruption.

Author
Yair Raz

Definition in file FreeRTOS_new.cpp.

Function Documentation

◆ calloc()

void* calloc ( size_t  nitems,
size_t  size 
)

Definition at line 62 of file FreeRTOS_new.cpp.

◆ free()

void free ( void *  ptr)

Definition at line 52 of file FreeRTOS_new.cpp.

◆ malloc()

void* malloc ( size_t  size)

Definition at line 47 of file FreeRTOS_new.cpp.

◆ operator delete()

void operator delete ( void *  p)

Definition at line 25 of file FreeRTOS_new.cpp.

◆ operator delete[]()

void operator delete[] ( void *  p)

Definition at line 37 of file FreeRTOS_new.cpp.

◆ operator new()

void* operator new ( size_t  size)

Definition at line 18 of file FreeRTOS_new.cpp.

◆ operator new[]()

void* operator new[] ( size_t  size)

Definition at line 30 of file FreeRTOS_new.cpp.

◆ pvPortMalloc()

void* pvPortMalloc ( size_t  xWantedSize)

Definition at line 155 of file heap_4.c.

◆ realloc()

void* realloc ( void *  ptr,
size_t  size 
)

Definition at line 57 of file FreeRTOS_new.cpp.

◆ vPortFree()

void vPortFree ( void *  pv)

Definition at line 311 of file heap_4.c.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:05