I have some code where I'd like to be able to dynamically allocate memory
in realtime.  Since the code is written in C++, I was thinking of just
making a huge global RT_HEAP and overloading the new and delete operators
to use the rt_heap_alloc and rt_heap_free functions.  First off, I'm
wondering if there are any caveats to this sort of thing that wouldn't be
obvious to someone new to xenomai like myself.  Second, if I fail to call
rt_heap_delete before the program terminates, does the heap remain
registered hang potentially causing problems when I try to re-allocate the
heap when the program is run again?  Thanks.
-Brandt


_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to