[riot-devel] Oneway-Malloc

Carsten Bormann cabo at tzi.org
Tue Aug 9 21:06:47 CEST 2016


https://twitter.com/c4bo/status/676393852798922752

:-)

Grüße, Carsten


Sam Kumar wrote:
> Hello,
> I noticed that there is a "oneway-malloc" module in RIOT OS. It appears
> to be a thin wrapper around sbrk that only supports allocating memory,
> not freeing it.
> 
> I am doing some development using RIOT OS, and dynamic memory allocation
> would be useful to me. Is there already a module that implements dynamic
> memory allocation suitable for general-purpose use in the kernel and in
> user programs?
> 
> If such a module does not already exist, I am willing to contribute a
> lightweight implementation of malloc, realloc, calloc, and free to
> replace the oneway-malloc module.
> 
> Sam Kumar
> 
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel


More information about the devel mailing list