All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] rt_queue_create in RT task?
@ 2009-03-09 14:20 Andreas Glatz
  2009-03-09 14:36 ` Steven Seeger
  2009-03-09 16:08 ` Philippe Gerum
  0 siblings, 2 replies; 8+ messages in thread
From: Andreas Glatz @ 2009-03-09 14:20 UTC (permalink / raw)
  To: xenomai

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


 


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-03-10 12:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-09 14:20 [Xenomai-core] rt_queue_create in RT task? Andreas Glatz
2009-03-09 14:36 ` Steven Seeger
2009-03-09 15:19   ` Andreas Glatz
2009-03-09 15:32     ` Steven Seeger
2009-03-09 16:08 ` Philippe Gerum
2009-03-09 16:37   ` Andreas Glatz
2009-03-09 17:02     ` Philippe Gerum
2009-03-10 12:43       ` Andreas Glatz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.