Hi,

Calling rt_queue_create in a real-time task is supposed to fail
according to the documentation. 

I found out, that the reason for this is, that the memory for 
the queue memory pool is allocated with vmalloc/kmalloc. 
Is there another reason?

I still would like to be able to call rt_queue_create in a 
real-time task in my activity of porting real-time applications
to Xenomai because I think that patching rt_queue_create would
be less time consuming than redesigning the applications.

My approach to get there would be to split rt_queue_create into 
two separate functions, one that allocates the memory pool
and another one which initializes the queue structure... 

Best regards,
Andreas


 

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to