Using heaps in userspace

Paolo Mantegazza mantegazza at aero.polimi.it
Tue Jun 7 13:13:36 CEST 2005


Malte Witt wrote:
> Hi Paolo,
> 
> 
>>Not at your example but I can see the global heap working in 
>>"showrrom/fusion/latwdisp.c".
>>What you were right is that you have to declare the gloabal heap in each 
> 
> 
>>thread.
> 
> Ok, that's no problem so far :-) I never checked that example since I 
> never used fusion.
> 

"showroom/fusion" is not meant for RTAI-fusion but is a sizeable subset 
of RTAI-fusion user space APIs usable from within RTAI-classic. In there 
the global heap is used to support message queue a la fusion way and 
seems to work fine.

> 
>>No you have to declare it in each thread, as for the global heap.
> 
> Ok, I noticed. Thanks for pointing that out for me. Doing that, it's 
> working fine now - even with global heap. I set up a new system though.

Good!.

Paolo.





More information about the Rtai mailing list