V3 heap usage
Hi,
Since rtheap compat alchemy seems broken, I wanted to try native heap dynamic allocation.
I found xnheap_ functions.
However, in this case, I have to manage heap byte alignment.
These are the right functions to use ? or I missed something ???
Regards,
S.Ancelot
Quoted 5 lines · Stéphane ANCELOT
Hi,
Since rtheap compat alchemy seems broken, I wanted to try native heap dynamic allocation.
Your test code is broken, not the API so far. Besides, I can only repeat
myself: there is no rtheap compat wrappers in the transition kit, simply because there is no need for it:
http://www.xenomai.org/pipermail/xenomai/2015-April/034091.html
http://xenomai.org/migrating-from-xenomai-2-x-to-3-x/#Heaps
Quoted 2 lines
I found
xnheap_functions.
These are kernel-space inner services for implementing the dual kernel system. You most likely don't want to use them.
Quoted 2 lines
However, in this case, I have to manage heap byte alignment.
No, that would make no sense, you must have misread the internal docs or code.
Quoted 2 lines
These are the right functions to use ? or I missed something ???
You seem to be missing the documentation:
http://www.xenomai.org/documentation/xenomai-3/html/xeno3prm/group__alchemy__heap.html
Signature · 1 line
Philippe.